Skip to content

sgns::NilFileHelper

#include <NilFileHelper.hpp>

Public Functions

Name
template <typename MarshalledData >
bool
PrintMarshalledData(const MarshalledData & output, std::ostream & out =std::cout, bool binary =true)
template <typename MarshalledData >
std::vector< uint8_t >
GetMarshalledData(const MarshalledData & output, bool binary =true)
template <typename MarshalledData >
outcome::result< MarshalledData >
DecodeMarshalledData(std::ifstream & in, bool binary =true)

Public Functions Documentation

function PrintMarshalledData

template <typename MarshalledData >
static inline bool PrintMarshalledData(
    const MarshalledData & output,
    std::ostream & out =std::cout,
    bool binary =true
)

function GetMarshalledData

template <typename MarshalledData >
static inline std::vector< uint8_t > GetMarshalledData(
    const MarshalledData & output,
    bool binary =true
)

function DecodeMarshalledData

template <typename MarshalledData >
static inline outcome::result< MarshalledData > DecodeMarshalledData(
    std::ifstream & in,
    bool binary =true
)

Updated on 2026-03-04 at 13:10:43 -0800