Searched refs:varintLength (Results 1 – 2 of 2) sorted by relevance
146 public static long assembleVarint(byte[] varintBytes, int varintLength, in assembleVarint() argument150 varint &= ~VARINT_LENGTH_MASKS[varintLength - 1]; in assembleVarint()152 for (int i = 1; i < varintLength; i++) { in assembleVarint()
169 int varintLength = VarintReader.parseUnsignedVarintLength(scratch[0]); in maybeResyncToNextLevel1Element() local170 if (varintLength != C.LENGTH_UNSET && varintLength <= MAX_ID_BYTES) { in maybeResyncToNextLevel1Element()171 int potentialId = (int) VarintReader.assembleVarint(scratch, varintLength, false); in maybeResyncToNextLevel1Element()173 input.skipFully(varintLength); in maybeResyncToNextLevel1Element()