libe3 0.2.5
C++ library for E3AP RAN vendor integration
Loading...
Searching...
No Matches
e3_encoder.hpp File Reference

Abstract E3 Encoder interface for PDU encoding/decoding. More...

#include "types.hpp"
#include <memory>
#include <optional>
#include <tl/expected.hpp>

Go to the source code of this file.

Classes

class  libe3::E3Encoder
 Abstract base class for E3AP encoders. More...

Namespaces

namespace  libe3

Typedefs

template<typename T>
using libe3::EncodeResult = tl::expected<T, ErrorCode>
 Result type for encoding/decoding operations.

Functions

std::unique_ptr< E3Encoder > libe3::create_encoder (EncodingFormat format)
 Factory function to create appropriate encoder.

Detailed Description

Abstract E3 Encoder interface for PDU encoding/decoding.

Defines the abstract interface for encoding and decoding E3AP PDUs. Ported from the original C implementation's e3ap_handler functions.

SPDX-FileCopyrightText: Copyright (c) 2026 Northeastern University SPDX-License-Identifier: Apache-2.0

Definition in file e3_encoder.hpp.