BorshStringSizedDecoder constructor

const BorshStringSizedDecoder(
  1. int byteLength, {
  2. BufferEncoding? encoding,
})

Creates a decoder for fixed-length string data types.

Implementation

const BorshStringSizedDecoder(
  this.byteLength, {
  final BufferEncoding? encoding,
}): encoding = encoding ?? BufferEncoding.utf8;