Encodes the four-byte string to a Uint8List.
Uint8List encode() { return Uint8List.fromList(bytes); }