BorshOptionSizedEncoder<T> constructor
const
BorshOptionSizedEncoder<T> (
- BorshCodecFixedSized<
T> subtype, - BorshOptionType? type
Creates an encoder for optional values.
Implementation
const BorshOptionSizedEncoder(super.subtype, super.type);