xmol::io::xdr::XdrHandle class

Public types

enum class Mode: uint8_t { READ, WRITE }

Constructors, destructors, conversion operators

XdrHandle(const std::string& path, Mode mode)
~XdrHandle()

Public functions

auto read_opaque(char* cp, unsigned int cnt) -> Status -> auto
auto write_opaque(const char* cp, unsigned int cnt) -> Status -> auto
auto read(int& value) -> Status -> auto
auto write(const int& value) -> Status -> auto
auto read(float& value) -> Status -> auto
auto write(const float& value) -> Status -> auto
auto read(const future::Span<float>& value) -> Status -> auto
auto write(const future::Span<const float>& value) -> Status -> auto
auto read(const future::Span<int>& value) -> Status -> auto
auto write(const future::Span<const int>& value) -> Status -> auto