If I run the following code:
Uint8List bytes = Uint8List.fromList([1, 0, 0, 128]); ByteBuffer byteBuffer = bytes.buff