@etothepii/satisfactory-file-parser
    Preparing search index...

    Class BlueprintWriter

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    alignment: Alignment
    bufferArray: ArrayBuffer
    bufferView: DataView
    context: ReaderWriterContext = ...
    currentByte: number

    Methods

    • automatically extends the current buffer if the given space exceeds the available rest capacity of the current buffer.

      Parameters

      • countNeededBytes: number

        the needed space

      • factor: number = 1.5

        how big the appended buffer should be in comparison to the current one. Values >= 1 make sense.

      Returns void

    • Parameters

      • compressionInfo: ChunkCompressionInfo
      • posAfterHeader: number
      • options: Partial<
            {
                onBinaryBeforeCompressing: (binary: ArrayBuffer) => void;
                onChunk: (chunk: Uint8Array) => void;
                onHeader: (header: Uint8Array) => void;
            },
        >

      Returns ChunkSummary[]