public virtual Long readBuf(Buf buf, long n) { try { return m_in.readBuf(buf, n); } catch (System.NullReferenceException e) { if (m_in == null) throw UnsupportedErr.make(@typeof().qname() + " wraps null InStream").val; else throw e; } }