BufferContext.fromBytes constructor
Create from a FlatBuffer represented by a list of bytes (uint8).
Implementation
factory BufferContext.fromBytes(List<int> byteList) =>
BufferContext(byteList is Uint8List
? byteList.buffer.asByteData(byteList.offsetInBytes)
: ByteData.view(Uint8List.fromList(byteList).buffer));