Skip to main content
Module

std/io/util.ts

Deno standard library
Go to Latest
File
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export { /** * @deprecated (will be removed after 0.172.0) Import from `std/io/copy_reader.ts` instead * * Copy N size at the most. If read size is lesser than N, then returns nread * @param r Reader * @param dest Writer * @param size Read size */ copyN,} from "./copy_n.ts";
export { /** * @deprecated (will be removed after 0.172.0) Import from `std/io/read_short.ts` instead * * Read big endian 16bit short from BufReader * @param buf */ readShort,} from "./read_short.ts";
export { /** * @deprecated (will be removed after 0.172.0) Import from `std/io/read_int.ts` instead * * Read big endian 32bit integer from BufReader * @param buf */ readInt,} from "./read_int.ts";
export { /** * @deprecated (will be removed after 0.172.0) Import from `std/io/read_long.ts` instead * * Read big endian 64bit long from BufReader * @param buf */ readLong,} from "./read_long.ts";
export { /** * @deprecated (will be removed after 0.172.0) Import from `std/io/slice_long_to_bytes.ts` instead * * Slice number into 64bit big endian byte array * @param d The number to be sliced * @param dest The sliced array */ sliceLongToBytes,} from "./slice_long_to_bytes.ts";