mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
deprecation(io/unstable): deprecate readShort()
(#6008)
This commit is contained in:
parent
e1c8d24144
commit
b32c6eb68e
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user