Function coptionSome

  • De/Serializes Some case of an Option of type T represented by COption.

    The de/serialized type is prefixed with 1. This matches the COption::Some type borsh representation.

    Type Parameters

    • T

      inner option type

    Parameters

    • inner: FixedSizeBeet<T, Partial<T>>

      the De/Serializer for the inner type

    Returns FixedSizeBeet<COption<T>>

Generated using TypeDoc