read method
Read the value at the given offset
in bc
.
Implementation
@override
List<E> read(BufferContext bc, int offset) {
final listOffset = bc.derefObject(offset);
return lazy
? _FbGenericList<E>(_elementReader, bc, listOffset)
: List<E>.generate(
bc.buffer.getUint32(listOffset, Endian.little),
(int index) => _elementReader.read(
bc, listOffset + size + _elementReader.size * index),
growable: true);
}