loadFromStream method

void loadFromStream(
  1. TStream stream,
  2. TBlobType blobType
)

Implementation

void loadFromStream(TStream stream, TBlobType blobType) {
  _dataType = blobType;
  stream.position = 0;
  final temp = List<int>.filled(stream.size, 0);
  stream.readBuffer(temp, stream.size);
  value = String.fromCharCodes(temp);
}