public static function convertNumberToBinaryString(int $number): string
    {
        if ($number > 65535) {
            throw new OutOfRangeException('This is an INT16 conversion, so the maximum is 65535');
        }

        return chr($number >> 8) . chr($number & 255);
    }