BorshVecSizedCodec<T> constructor

const BorshVecSizedCodec<T>(
  1. BorshCodecFixedSized<T> subtype,
  2. int capacity
)

Creates a codec for dynamically sized arrays with sized data types.

Implementation

const BorshVecSizedCodec(super.subtype, this.capacity);