Binary Raw - Docs
    Preparing search index...

    Interface DecodedValue<T>

    Represents a decoded value from a specific offset in the binary data.

    interface DecodedValue<T> {
        endianness: Endianness;
        offset: AbsoluteOffset;
        raw: readonly number[];
        size: ByteCount;
        valid: boolean;
        value: T;
    }

    Type Parameters

    • T

      The decoded value type (number, bigint, or string).

    Index

    Properties

    endianness: Endianness

    Byte order used for decoding.

    Offset in the file where this value starts.

    raw: readonly number[]

    Raw byte values that were decoded.

    size: ByteCount

    Size in bytes of this value.

    valid: boolean

    Whether the value is valid (e.g., not truncated).

    value: T

    The decoded value.