vTableGet method
Uint32List
vTableGet(
- BufferContext object,
- int offset,
- int field,
- Uint32List defaultValue,
inherited
Read the value of the given field
in the given object
.
Implementation
@pragma('vm:prefer-inline')
T vTableGet(BufferContext object, int offset, int field, T defaultValue) {
final fieldOffset = _vTableFieldOffset(object, offset, field);
return fieldOffset == 0 ? defaultValue : read(object, offset + fieldOffset);
}