Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
iuioiua committed Sep 20, 2024
1 parent 829339d commit bc5dfaf
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions io/string_reader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@ import { Buffer } from "./buffer.ts";
* assertEquals(new TextDecoder().decode(data), "abcdef");
* ```
*
* @deprecated Pass an encoded string, using {@linkcode TextEncoder.encode}, to
* a new {@linkcode Buffer} instance instead. Or more preferably, use a
* {@linkcode ReadableStream} consisting of {@linkcode Uint8Array}s.
*
* This will be removed in 0.226.0.
* @deprecated Pass an encoded string to a new
* {@linkcode https://jsr.io/@std/streams/doc/buffer/~/Buffer | Buffer} instance
* instead. This will be removed in 0.226.0.
*/
export class StringReader extends Buffer {
/**
Expand Down

0 comments on commit bc5dfaf

Please sign in to comment.