it
    Preparing search index...

    Interface LengthPrefixedStreamOpts

    interface LengthPrefixedStreamOpts {
        maxDataLength: number;
        maxLengthLength: number;
        yieldBytes?: boolean;
        lengthDecoder(data: Uint8ArrayList): number;
        lengthEncoder(value: number): Uint8ArrayList | Uint8Array<ArrayBufferLike>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    maxDataLength: number
    maxLengthLength: number
    yieldBytes?: boolean

    After the stream is unwrapped, any bytes that have been read from the incoming stream will be yielded in-order as Uint8Array(s).

    To yield a single Uint8ArrayList with all unread bytes instead, pass false here.

    Methods