@s2-dev/streamstore - v0.22.0
    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, Uint8Array])[];
        meteredBytes: number;
        timestamp?: number | Date;
    }
    Index

    Properties

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

    Pre-calculated metered size in bytes.

    timestamp?: number | Date

    Optional timestamp (Date or milliseconds since Unix epoch).