public Task Write(string data, AsyncWrappingCommonArgs async)
 {
     return(Write(_charset.GetBytes(data), async));
 }
		private byte[] GetStringBuffer(Charset charset, string value)
		{
			byte[] buffer = new byte[32];

			charset.GetBytes(value, 0, value.Length, buffer, 0);

			return buffer;
		}
Ejemplo n.º 3
0
 public void Write(string data)
 {
     Write(_charset.GetBytes(data));
 }