MessagePackWriter constructor

MessagePackWriter([
  1. BytesBuilder? builder,
  2. List<int>? initialData
])

Implementation

MessagePackWriter([BytesBuilder? builder, List<int>? initialData])
    : _bytesBuilder = builder ?? BytesBuilder() {
  if (initialData != null) {
    _bytesBuilder.add(initialData);
  }
}