public override OutStream writeBuf(Buf other, long n) { try { other.pipeTo(p.m_stream, n); return this; } catch (IOException e) { throw IOErr.make(e).val; } catch (System.NotSupportedException e) { throw IOErr.make(e.Message, e).val; } }