/// <exception cref="System.IO.IOException"></exception> private static void WriteBytes(ByteArrayBuffer b, OutputStream @out) { @out.Write(b.Buffer(), 0, b.Length()); }