Searched refs:firstLengthByte (Results 1 – 2 of 2) sorted by relevance
48 int firstLengthByte = mBuf.get() & 0xff; in readDataValue() local51 if ((firstLengthByte & 0x80) == 0) { in readDataValue()53 contentsLength = readShortFormLength(firstLengthByte); in readDataValue()56 } else if (firstLengthByte != 0x80) { in readDataValue()58 contentsLength = readLongFormLength(firstLengthByte); in readDataValue()125 private int readShortFormLength(int firstLengthByte) { in readShortFormLength() argument126 return firstLengthByte & 0x7f; in readShortFormLength()129 private int readLongFormLength(int firstLengthByte) throws BerDataValueFormatException { in readLongFormLength() argument132 int byteCount = firstLengthByte & 0x7f; in readLongFormLength()
61 int firstLengthByte = in.read(); in readDataValue() local62 if (firstLengthByte == -1) { in readDataValue()69 if ((firstLengthByte & 0x80) == 0) { in readDataValue()71 contentsLength = readShortFormLength(firstLengthByte); in readDataValue()74 } else if ((firstLengthByte & 0xff) != 0x80) { in readDataValue()76 contentsLength = readLongFormLength(in, firstLengthByte); in readDataValue()134 private static int readShortFormLength(int firstLengthByte) { in readShortFormLength() argument135 return firstLengthByte & 0x7f; in readShortFormLength()138 private static int readLongFormLength(InputStream in, int firstLengthByte) in readLongFormLength() argument142 int byteCount = firstLengthByte & 0x7f; in readLongFormLength()