Files
Towards/modules/network/include/frames/FrameCodec.hpp
T

16 lines
272 B
C++
Raw Normal View History

2026-07-18 14:31:15 +02:00
#pragma once
#include "bytebuffer/ByteBuffer.hpp"
#include "frames/Frame.hpp"
namespace tw::net::frame {
class FrameCodec {
public:
static void encode(RingByteBuffer& target, const Frame& frame);
static std::vector<Frame> decode(RingByteBuffer& target);
};
}