Lines Matching refs:tag
35 * This assumes that the basic data structure is "tag, length, value"
59 private boolean isEOC(int tag) {
60 return (((tag & TAG_MASK) == 0x00) && // EOC
61 ((tag & FORM_MASK) == 0x00) && // primitive
62 ((tag & CLASS_MASK) == 0x00)); // universal
89 * Parse the tag and if it is an end-of-contents tag then
111 "indefinite-length tag");
121 // and subtract the indefinite-length tag (1 byte) and
129 * Write the tag and if it is an end-of-contents tag
130 * then skip the tag and its 1 byte length of zero.
135 int tag = data[dataPos++];
136 if (isEOC(tag) && (data[dataPos] == 0)) {
140 newData[newDataPos++] = (byte)tag;