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; }
public void Write(string data) { Write(_charset.GetBytes(data)); }