*<Null safety>*
int claimMemory (int size)
int claimMemory(int size) { if (_nextOutOfLineDepth > _maxOutOfLineDepth) { throw FidlError('Exceeded maxOutOfLineDepth', FidlErrorCode.fidlExceededMaxOutOfLineDepth); } _nextOutOfLineDepth++; final int result = _nextOffset; _nextOffset += _align(size); if (_nextOffset > data.lengthInBytes) { throw FidlError('Cannot access out of range memory'); } return result; }