public async Task<ushort> ReadUInt16() { var Data = new byte[2]; if (await this.BaseStream.ReadAsync(Data, 0, 2) != 2) { throw(new Exception("Can't read 2 bytes from Stream.")); } return BitConverter.ToUInt16(Data, 0); } }