encode method

Uint8List encode()

Encodes the four-byte string to a Uint8List.

Implementation

Uint8List encode() {
  return Uint8List.fromList(bytes);
}