@s2-dev/streamstore - v0.24.1
    Preparing search index...

    Function bytes

    • Create a bytes-format append record with pre-calculated metered size.

      Parameters

      • params: {
            body: Uint8Array;
            headers?: readonly (
                readonly [Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>]
            )[];
            timestamp?: number | Date;
        }

      Returns BytesAppendRecord