RAILGUN Reloaded
    Preparing search index...

    Module @railgun-reloaded/bytes

    Source: dev fb1c2e2

    @railgun-reloaded/bytes

    Shared, zero-dependency utilities used across RAILGUN reloaded packages.

    This package is the canonical home for primitive conversion helpers (hex strings, byte arrays, bigints). It exists so that every package in the monorepo gets the same validated behavior from a single implementation instead of diverging copies.

    npm install @railgun-reloaded/bytes
    
    import { hexToBytes, bytesToHex, bigIntToBytes, bytesToBigInt } from '@railgun-reloaded/bytes'
    
    npm run build     # tsc --build
    npm run lint # eslint
    npm run lint:fix # eslint --fix
    npm test # build + node --test

    MIT

    BytesError
    chunk
    combine
    stripHexPrefix
    hexToBytes
    bytesToHex
    bytesToBigInt
    bigIntToBytes
    bigIntToHex
    padBytesLeft
    BytesErrorCode