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();
    }