public async Task WritePointerAsync(long index, long pointer) { EnsureLengthIsLargeEnough((int)index + 8); await Data.WriteInt64Async(index, pointer).ConfigureAwait(false); PointerOffsets.Add(index); }
public void WritePointer(long index, long pointer) { EnsureLengthIsLargeEnough((int)index + 8); Data.WriteInt64(index, pointer); PointerOffsets.Add(index); }
/// <summary> /// Registers the data at the given index as a pointer /// </summary> /// <param name="index">Index of the pointer</param> public void MarkPointer(long index) { PointerOffsets.Add(index); }