Skip to content

Commit

Permalink
deprecation(io/unstable): deprecate readShort() (#6008)
Browse files Browse the repository at this point in the history
  • Loading branch information
iuioiua committed Sep 18, 2024
1 parent e1c8d24 commit b32c6eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io/read_short.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import type { BufReader } from "./buf_reader.ts";
* @param buf The reader to read from
* @returns The 16bit short
*
* @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 This will be removed in 0.226.0.
*/
export async function readShort(buf: BufReader): Promise<number | null> {
const high = await buf.readByte();
Expand Down

0 comments on commit b32c6eb

Please sign in to comment.