equal
deleted
inserted
replaced
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 } |