Exemplo n.º 1
0
        public async Task WritePointerAsync(long index, long pointer)
        {
            EnsureLengthIsLargeEnough((int)index + 8);
            await Data.WriteInt64Async(index, pointer).ConfigureAwait(false);

            PointerOffsets.Add(index);
        }
Exemplo n.º 2
0
 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);
 }