onBlob method
override
A blob field announcing length bytes. Return the destination —
capacity at least length — or null to skip it.
Implementation
@override
InlineBytes? onBlob(int id, int length) {
if (_overCapacity(this, id, cap, rcap)) return null;
if (_overLength(this, length, emax, relemMax)) return null;
while (out.length <= id) {
out.add(InlineBytes(0));
}
final e = out[id];
if (e.storage.length < length) e.storage = Uint8List(length);
return e;
}