@chickenjdk/byteutils
    Preparing search index...

    Function addDefaultEndianness

    • Extend the provided readable/writable buffer to set a default endianness

      Type Parameters

      • classType extends new (...args: any[]) => { isLe: boolean }

      Parameters

      • buffer: classType

        The buffer to extend

      • isLe: boolean

        If to make the default endianness Little Endian

      Returns classType