jdk/src/share/classes/com/sun/jndi/ldap/BerDecoder.java
changeset 17483 ed57f2f26fb6
parent 5506 202f599c92aa
child 23010 6dadb192ad81
equal deleted inserted replaced
17482:c3efc9e2e227 17483:ed57f2f26fb6
    40     /**
    40     /**
    41      * Creates a BER decoder that reads bytes from the specified buffer.
    41      * Creates a BER decoder that reads bytes from the specified buffer.
    42      */
    42      */
    43     public BerDecoder(byte buf[], int offset, int bufsize) {
    43     public BerDecoder(byte buf[], int offset, int bufsize) {
    44 
    44 
    45         this.buf = buf;
    45         this.buf = buf;         // shared buffer, be careful to use this class
    46         this.bufsize = bufsize;
    46         this.bufsize = bufsize;
    47         this.origOffset = offset;
    47         this.origOffset = offset;
    48 
    48 
    49         reset();
    49         reset();
    50     }
    50     }