public long ReadInt64() { ReadBytes(_smallBuffer, 8); return(TypeDecoder.DecodeInt64(_smallBuffer)); }
public async ValueTask <long> ReadInt64Async(CancellationToken cancellationToken = default) { await ReadBytesAsync(_smallBuffer, 8, cancellationToken).ConfigureAwait(false); return(TypeDecoder.DecodeInt64(_smallBuffer)); }
public async Task <long> ReadInt64(AsyncWrappingCommonArgs async) { await ReadBytes(_smallBuffer, 8, async).ConfigureAwait(false); return(TypeDecoder.DecodeInt64(_smallBuffer)); }