getOffsetInBytes method

Future<int> getOffsetInBytes(
  1. int index
)

Get the offset of the record (in real bytes, not 16-bit words).

@param index The index, from 0 to getRecordCount - 1 @return The offset in bytes.

Implementation

Future<int> getOffsetInBytes(int index) async {
  return await getOffset(index) * 2;
}