Searched refs:magicNumber (Results 1 – 3 of 3) sorted by relevance
32 const std::vector<uint8_t> getBuffer(const int magicNumber, const int version, const uint16_t flags, in getBuffer() argument35 buffer.push_back(magicNumber >> 24); in getBuffer()36 buffer.push_back(magicNumber >> 16); in getBuffer()37 buffer.push_back(magicNumber >> 8); in getBuffer()38 buffer.push_back(magicNumber); in getBuffer()
54 const uint32_t magicNumber = ByteArrayUtils::readUint32(dictBuffer.data(), 0); in detectFormatVersion() local55 switch (magicNumber) { in detectFormatVersion()
166 final int magicNumber = ((tmpBuffer[MAGIC_NUMBER_START_OFFSET] & 0xFF) << 24) in process() local170 if (magicNumber != FormatSpec.MAGIC_NUMBER) { in process()