SerializedType constructor

SerializedType(
  1. List<int> buffer
)

Constructs a SerializedType object with an optional buffer. If buffer is not provided, an empty bytes is used.

Implementation

SerializedType(List<int> buffer) : _buffer = buffer.asImmutableBytes;