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

    Interface BytesAppendRecord

    Append record with binary body and binary headers. Use AppendRecord.bytes() to construct instances.

    interface BytesAppendRecord {
        body: Uint8Array;
        headers?: readonly (
            readonly [Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>]
        )[];
        meteredBytes: number;
        timestamp?: number | Date;
    }
    Index

    Properties

    body: Uint8Array
    headers?: readonly (
        readonly [Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>]
    )[]
    meteredBytes: number

    Pre-calculated metered size in bytes.

    timestamp?: number | Date

    Optional timestamp (Date or milliseconds since Unix epoch).