private function convertEndianness()

in src/Apache/Ignite/Internal/Binary/MessageBuffer.php [259:267]


    private function convertEndianness(string &$value, int $type): void
    {
        if (!MessageBuffer::$isLittleEndian &&
            ($type === ObjectType::SHORT ||
             $type === ObjectType::INTEGER ||
             $type === ObjectType::LONG)) {
            $value = strrev($value);
        }
    }