Skip to content

Commit

Permalink
deprecation(io/unstable): deprecate StringReader
Browse files Browse the repository at this point in the history
  • Loading branch information
iuioiua committed Sep 20, 2024
1 parent 0b2497f commit 2ddb723
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion io/string_reader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ import { Buffer } from "./buffer.ts";
* assertEquals(new TextDecoder().decode(data), "abcdef");
* ```
*
* @deprecated This will be removed in 1.0.0. Use the {@link https://developer.mozilla.org/en-US/docs/Web/API/Streams_API | Web Streams API} instead.
* @deprecated Pass an encoded string, using {@linkcode TextEncoder.encode}, to
* a new {@linkcode Buffer} instance instead. This will be removed in 0.226.0.
*/
export class StringReader extends Buffer {
/**
Expand Down

0 comments on commit 2ddb723

Please sign in to comment.