extractData static method
Implementation
static BsonBinaryData extractData(BsonBinary buffer) {
var size = buffer.readInt32();
var locSubType = buffer.readByte();
var locByteList = Uint8List(size);
locByteList.setRange(0, size, buffer.byteList, buffer.offset);
buffer.offset += size;
return BsonBinaryData(locByteList, locSubType);
}