public PagedResultsResponseControl(String id,boolean criticality,byte[] value) throws IOException {
  super(id,criticality,value);
  BerDecoder ber=new BerDecoder(value,0,value.length);
  ber.parseSeq(null);
  resultSize=ber.parseInt();
  cookie=ber.parseOctetString(Ber.ASN_OCTET_STR,null);
}

public PagedResultsResponseControl ( String id , boolean criticality , byte [ ] value ) throws IOException { super ( id , criticality , value ) ; BerDecoder ber = new BerDecoder ( value , 0 , value . length ) ; ber . parseSeq ( null ) ; resultSize = ber . parseInt ( ) ; cookie = ber . parseOctetString ( Ber . ASN_OCTET_STR , null ) ; }
constructs a paged - results response control .
