Fan.Sys.SysInStream.readBuf C# (CSharp) Method

readBuf() public method

public readBuf ( Buf buf, long n ) : Long
buf Buf
n long
return Long
        public override Long readBuf(Buf buf, long n)
        {
            try
              {
            long read = buf.pipeFrom(inStream, n);
            if (read <= 0) return null;
            return Long.valueOf(read);
              }
              catch (IOException e)
              {
            throw IOErr.make(e).val;
              }
        }