private ValueTask <int> ReadAsync(ArraySegment <byte> buffer) { return(_input.ReadAsync(buffer.Array, buffer.Offset, buffer.Count)); }
private Task <int> ReadAsync(ArraySegment <byte> buffer) { return(_input.ReadAsync(buffer)); }