BorshStringSized constructor

const BorshStringSized(
  1. int byteLength, [
  2. BufferEncoding? encoding
])

Creates an annotation for a fixed-length string.

Implementation

const BorshStringSized(
  this.byteLength, [
  this.encoding,
]);