public function serializeInt(int $number = null)
    {
        if (null === $number) {
            return $this->serializeInt(self::NULL_SENTINEL);
        }
        else {
            $uint8 = [
                $number         & 0xff,
                ($number >> 8)  & 0xff,
                ($number >> 16) & 0xff,
                ($number >> 24) & 0xff
            ];
        }

        return $uint8;
    }
public function serializeInt(int $number = null)
    {
        if (null === $number) {
            return $this->serializeInt(self::NULL_SENTINEL);
        }
        else {
            $uint8 = [
                $number         & 0xff,
                ($number >> 8)  & 0xff,
                ($number >> 16) & 0xff,
                ($number >> 24) & 0xff
            ];
        }

        return $uint8;
    }
public function serializeInt ( int $ number = null ) { if ( null === $ number ) { return $ this -> serializeInt ( self :: NULL_SENTINEL ) ; } else { $ uint8 = [ $ number & 0xff , ( $ number >> 8 ) & 0xff , ( $ number >> 16 ) & 0xff , ( $ number >> 24 ) & 0xff ] ; } return $ uint8 ; }
Internal method to serialize a decimal number into a
Integer on 4 Bytes.

This method is used in all other serializeX methods and
should not be used directly from outside the NEM SDK.

@internal This method should not be used directly

@param   integer     $number
@return  array       Returns a byte-array with values in UInt8 representation.
Internal method to serialize a decimal number into a Integer on 4 Bytes .