remove RpcSerializer

This commit is contained in:
Сергей Маринкевич
2025-12-02 20:36:35 +07:00
parent 40170d553d
commit 6cc64fa6a3
2 changed files with 1 additions and 23 deletions
+1 -2
View File
@@ -30,8 +30,7 @@ project/
│   │   │   └── ProxyMarshaller.h
│   │   └── rpc
│   │   ├── rpc_export.h
│   │   ── RpcInvoker.h
│   │   └── RpcSerializer.h
│   │   ── RpcInvoker.h
│   ├── MyService.cpp
│   ├── MyService.h
│   └── server.cpp
-21
View File
@@ -1,21 +0,0 @@
#pragma once
#include <sstream>
#include <string>
class RpcSerializer {
public:
template<typename T>
static void write(std::ostringstream& out, const T& v) {
out << v << ' ';
}
template<typename T>
static T read(std::istringstream& in) {
T v;
in >> v;
return v;
}
};