Searched refs:newEndian (Results 1 – 1 of 1) sorted by relevance
293 uint32 newEndian = (buffer[3] & 0xFF); // 3: forth char in Change32Endian() local294 newEndian |= ((buffer[2] << 8) & 0xFF00); // 2: third char, 8: 1 byte length in Change32Endian()295 newEndian |= ((buffer[1] << 16) & 0xFF0000); // 16: 2 byte length in Change32Endian()296 newEndian |= ((buffer[0] << 24) & 0xFF000000); // 24: 3 byte length in Change32Endian()297 return newEndian; in Change32Endian()303 uint16 newEndian = (buffer[1] & 0xFF); in Change16Endian() local304 newEndian |= ((buffer[0] << 8) & 0xFF00); // 8: 1 byte length in Change16Endian()305 return newEndian; in Change16Endian()