• Preparing search index...
  • The search index is not available
Solana JavaScript SDK
  • Solana JavaScript SDK
  • @solana/codecs
  • getBytesDecoder

Function getBytesDecoder

  • getBytesDecoder(): VariableSizeDecoder<ReadonlyUint8Array>
  • Decodes byte arrays as-is.

    To control the size of the decoded byte array, you can use the fixDecoderSize or addDecoderSizePrefix functions.

    Returns VariableSizeDecoder<ReadonlyUint8Array>

    • Defined in packages/codecs-data-structures/dist/types/bytes.d.ts:15

Settings

Member Visibility
Solana JavaScript SDK
  • Loading...

Generated using TypeDoc