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