public function asBinary(bool $extended = false, string $endianness = 'NDR', bool $unpack = false): string {
        $event = new OutputOpEvent($this, [
            'extended' => $extended,
            'endianness' => $endianness,
            'unpack' => $unpack]);
        $this->fireOperationEvent(OutputOpEvent::AS_BINARY_EVENT, $event);
        return $event->getResults();
    }
public function asBinary(bool $extended = false, string $endianness = 'NDR', bool $unpack = false): string {
        $event = new OutputOpEvent($this, [
            'extended' => $extended,
            'endianness' => $endianness,
            'unpack' => $unpack]);
        $this->fireOperationEvent(OutputOpEvent::AS_BINARY_EVENT, $event);
        return $event->getResults();
    }
public function asBinary ( bool $ extended = false , string $ endianness = 'NDR' , bool $ unpack = false ) : string { $ event = new OutputOpEvent ( $ this , [ 'extended' => $ extended , 'endianness' => $ endianness , 'unpack' => $ unpack ] ) ; $ this -> fireOperationEvent ( OutputOpEvent :: AS_BINARY_EVENT , $ event ) ; return $ event -> getResults ( ) ; }
Exports this Geometry object to a specific Well-known Binary Representation.

@param bool $extended true will export to Extended Well-known Binary
@param string $endianness either 'NDR' little-endian or 'XDR' big-endian
@param bool $unpack true will return hex_string; false binary string
Exports this Geometry object to a specific Well - known Binary Representation .