Base module

Base64PacketEncoder

Packet processor that Base64-encodes packet data.

Base64PacketEncoder

#include <icy/base64packetencoder.h>

Inherits: PacketProcessor

Packet processor that Base64-encodes packet data.

Public Attributes

ReturnNameDescription
PacketSignalemitter

emitter

PacketSignal emitter

Public Methods

ReturnNameDescription
Base64PacketEncoder inline
voidprocess virtual inlineBase64-encodes the payload of an incoming [RawPacket](icy-RawPacket.html#rawpacket-4) and emits the result.

Base64PacketEncoder

inline

inline Base64PacketEncoder()

process

virtual inline

virtual inline void process(IPacket & packet)

Base64-encodes the payload of an incoming [RawPacket](icy-RawPacket.html#rawpacket-4) and emits the result.

Parameters

  • packet Incoming packet; must be castable to [RawPacket](icy-RawPacket.html#rawpacket-4).

Exceptions

  • std::bad_cast if the packet is not a [RawPacket](icy-RawPacket.html#rawpacket-4).