public void WriteEncodedChar(char value, Encoding encoding) { byte[] data = encoding.GetBytes(new char[] { value }); this.Write(data); }