BufferBytesOptions

import { BufferBytesOptions } from "jsr:@ende/streams";

interface

interface BufferBytesOptions

Options for Buffer.bytes.

Properties

copy

copy?: boolean

If true, Buffer.bytes will return a copy of the buffered data.

If false, it will return a slice to the buffer's data.

Default: true

Source