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

    Type Alias BytesSerializerOptions

    BytesSerializerOptions: BaseSerializerOptions & {
        size?: NumberSerializer | number | "variable";
    }

    Defines the options for bytes serializers.

    Type Declaration

    • Optionalsize?: NumberSerializer | number | "variable"

      The size of the buffer. It can be one of the following:

      • a NumberSerializer that prefixes the buffer with its size.
      • a fixed number of bytes.
      • or 'variable' to use the rest of the buffer.

      'variable'