InlineBytes.of constructor

InlineBytes.of(
  1. List<int> bytes
)

A copy of bytes, length set to match.

Implementation

InlineBytes.of(List<int> bytes)
  : storage = Uint8List.fromList(bytes),
    length = bytes.length;