Searched refs:dictBuffer (Results 1 – 4 of 4) sorted by relevance
265 static String readString(final DictBuffer dictBuffer) { in readString() argument267 int character = readChar(dictBuffer); in readString()270 character = readChar(dictBuffer); in readString()283 static int readChar(final DictBuffer dictBuffer) { in readChar() argument284 int character = dictBuffer.readUnsignedByte(); in readChar()290 character += dictBuffer.readUnsignedShort(); in readChar()299 /* package */ static int readPtNodeCount(final DictBuffer dictBuffer) { in readPtNodeCount() argument300 final int msb = dictBuffer.readUnsignedByte(); in readPtNodeCount()305 + dictBuffer.readUnsignedByte(); in readPtNodeCount()
316 final DictBuffer dictBuffer = new ByteArrayDictBuffer(buffer); in testCharEncoding() local320 dictBuffer.position(0); in testCharEncoding()321 final String str = CharEncoding.readString(dictBuffer); in testCharEncoding()
47 const ReadOnlyByteArrayView dictBuffer) { in detectFormatVersion() argument51 if (dictBuffer.size() < DICTIONARY_MINIMUM_SIZE) { in detectFormatVersion()54 const uint32_t magicNumber = ByteArrayUtils::readUint32(dictBuffer.data(), 0); in detectFormatVersion()65 return getFormatVersion(ByteArrayUtils::readUint16(dictBuffer.data(), 4)); in detectFormatVersion()
51 static FORMAT_VERSION detectFormatVersion(const ReadOnlyByteArrayView dictBuffer);