public long ReadSInt64() { var tmp = ReadUInt64(); long value = EncodeHelpers.DecodeZigZag(tmp); return(value); }
public async Task <long> ReadSInt64Async() { var tmp = await ReadUInt64Async(); long value = EncodeHelpers.DecodeZigZag(tmp); return(value); }
public async Task <long[]> ReadPackedSInt64ArrayAsync() { var result = await ReadPackedInt64ArrayAsync(); return(result.Select(x => EncodeHelpers.DecodeZigZag((ulong)x)).ToArray()); }
public long[] ReadPackedSInt64Array() { var result = ReadPackedInt64Array(); return(result.Select(x => EncodeHelpers.DecodeZigZag((ulong)x)).ToArray()); }