dataview-stream - v1.4.0
    Preparing search index...

    Interface WriterOptions

    interface WriterOptions {
        chunkSize?: number;
        copyBuffers?: boolean;
        littleEndian?: boolean;
    }
    Index

    Properties

    chunkSize?: number

    How many bytes to allocate for each chunk? Best case is that this number is larger than your final size, so only one allocation has to happen and no copies on read.

    4096
    
    copyBuffers?: boolean

    If true, Uint8Arrays passed in to write() will always have their current state copied into the writer, even if they are larger than chunkSize.

    false
    
    littleEndian?: boolean

    Do all reads as littleEndian, instead of network byte order (big endian).