libp2p
    Preparing search index...

    Interface LengthPrefixedStream<S>

    interface LengthPrefixedStream<S extends MessageStream = MessageStream> {
        read(options?: AbortOptions): Promise<Uint8ArrayList<ArrayBufferLike>>;
        unwrap(): S;
        write(
            data: Uint8Array<ArrayBufferLike> | Uint8ArrayList<ArrayBufferLike>,
            options?: AbortOptions,
        ): Promise<void>;
        writeV(
            input: (Uint8Array<ArrayBufferLike> | Uint8ArrayList<ArrayBufferLike>)[],
            options?: AbortOptions,
        ): Promise<void>;
    }

    Type Parameters

    Index

    Methods