code: public int addBytes(byte[] buf, int offset, int length)
      {
          if (length>unconsumedCapacity())
              length=unconsumedCapacity();
          System.arraycopy(buf,offset,_buf,_bytes,length);
          _bytes+=length;
          return length;
      }
docs: /* ------------------------------------------------------------