mirror of
https://github.com/denoland/std.git
synced 2024-11-22 04:59:05 +00:00
deprecation(io/unstable): deprecate readLong()
(#6007)
This commit is contained in:
parent
a550998a6f
commit
ee9e3020e2
@ -25,7 +25,7 @@ const MAX_SAFE_INTEGER = BigInt(Number.MAX_SAFE_INTEGER);
|
|||||||
* @throws {Deno.errors.UnexpectedEof} If the reader returns unexpected EOF
|
* @throws {Deno.errors.UnexpectedEof} If the reader returns unexpected EOF
|
||||||
* @throws {RangeError} If the long value is too big to be represented as a JavaScript number
|
* @throws {RangeError} If the long value is too big to be represented as a JavaScript number
|
||||||
*
|
*
|
||||||
* @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 the future.
|
||||||
*/
|
*/
|
||||||
export async function readLong(buf: BufReader): Promise<number | null> {
|
export async function readLong(buf: BufReader): Promise<number | null> {
|
||||||
const high = await readInt(buf);
|
const high = await readInt(buf);
|
||||||
|
Loading…
Reference in New Issue
Block a user