Searched refs:encodeBytes (Results 1 – 1 of 1) sorted by relevance
447 ByteBuffer encodeBytes = ByteBuffer.allocate(encodeSize); in encodeListOfPairsToByteArray() local448 encodeBytes.order(ByteOrder.LITTLE_ENDIAN); in encodeListOfPairsToByteArray()449 encodeBytes.putInt(CONTENT_VERSION); // version in encodeListOfPairsToByteArray()450 encodeBytes.putInt(BLOCK_NUMBER); // block number in encodeListOfPairsToByteArray()453 encodeBytes.putInt(INT_SIZE + INT_SIZE + second.length); in encodeListOfPairsToByteArray()454 encodeBytes.putInt(pair.getFirst()); in encodeListOfPairsToByteArray()455 encodeBytes.putInt(second.length); in encodeListOfPairsToByteArray()456 encodeBytes.put(second); in encodeListOfPairsToByteArray()458 return encodeBytes.array(); in encodeListOfPairsToByteArray()