convertToUint8List method
Converts this instance to an Uint8List with elements in endian
ness.
Implementation
Uint8List convertToUint8List([Endian endian = Endian.big]) {
if (Endian.host == endian) {
return convertToUint8ListHostEndian();
} else {
return convertToUint8ListReversedEndian();
}
}