public Task <int> ReadAsync(byte[] buffer, int offset, int count) { if (_parser.BufferOffset != _parser.BufferSize) { return(Task.FromResult(_parser.ReadBuffer(buffer, offset, count))); } return(_stream.ReadAsync(buffer, offset, count)); }