isBinary); return FormatConverter::binaryToIp($buffer, $isBinary); } /* ~~~~~~~~~~~~~~~~~~~~ Getters and Setters ~~~~~~~~~~~~~~~~~~~~ */ /** * Gets the transformation name of the plugin * * @return string */ public static function getName() { return 'Binary To IPv4/IPv6'; } /** * Gets the plugin`s MIME type * * @return string */ public static function getMIMEType() { return 'Text'; } /** * Gets the plugin`s MIME subtype * * @return string */ public static function getMIMESubtype() { return 'Plain'; } }