12#ifndef SERIALIZEHELPER_H_
13#define SERIALIZEHELPER_H_
15#include <pv/serialize.h>
16#include <pv/byteBuffer.h>
17#include <pv/noDefaultMethods.h>
18#include <pv/pvIntrospect.h>
108 static void writeSize(std::size_t s, ByteBuffer* buffer);
This class implements a Bytebuffer that is like the java.nio.ByteBuffer.
Callback class for deserialization.
Callback class for serialization.
static std::size_t readSize(ByteBuffer *buffer, DeserializableControl *control)
static void serializeString(const std::string &value, ByteBuffer *buffer, SerializableControl *flusher)
static void serializeSubstring(const std::string &value, std::size_t offset, std::size_t count, ByteBuffer *buffer, SerializableControl *flusher)
static void writeSize(std::size_t s, ByteBuffer *buffer, SerializableControl *flusher)
static std::string deserializeString(ByteBuffer *buffer, DeserializableControl *control)