BorshStringSizedCodec constructor
const
BorshStringSizedCodec(
- int byteLength, {
- BufferEncoding? encoding,
Creates a codec for fixed-length string data types.
Implementation
const BorshStringSizedCodec(
this.byteLength, {
final BufferEncoding? encoding,
}): encoding = encoding ?? BufferEncoding.utf8;