decodeBytes method

T? decodeBytes(
  1. Uint8List bytes, [
  2. int byteOffset = 0
])

Convenience: decodes a buffer produced by encodeBytes (or the bridge).

Implementation

T? decodeBytes(Uint8List bytes, [int byteOffset = 0]) => read(ByteData.sublistView(bytes), byteOffset);