Umi — API References - v1.3.0
    Preparing search index...

    Type Alias NullableSerializerOptions

    NullableSerializerOptions: BaseSerializerOptions & {
        fixed?: boolean;
        prefix?: NumberSerializer;
    }

    Defines the options for Nullable serializers.

    Type Declaration

    • Optionalfixed?: boolean

      Whether the item serializer should be of fixed size.

      When this is true, a null value will skip the bytes that would have been used for the item. Note that this will only work if the item serializer is of fixed size.

      false

    • Optionalprefix?: NumberSerializer

      The serializer to use for the boolean prefix.

      u8()