mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-09 13:37:58 -05:00
24 lines
324 B
C++
24 lines
324 B
C++
/*
|
|
* PlayerBuffer.h
|
|
*
|
|
*/
|
|
|
|
#ifndef NETWORKING_PLAYERBUFFER_H_
|
|
#define NETWORKING_PLAYERBUFFER_H_
|
|
|
|
#include "Tools/int.h"
|
|
|
|
class PlayerBuffer
|
|
{
|
|
public:
|
|
octet* data;
|
|
size_t size;
|
|
|
|
PlayerBuffer(octet* data, size_t size) :
|
|
data(data), size(size)
|
|
{
|
|
}
|
|
};
|
|
|
|
#endif /* NETWORKING_PLAYERBUFFER_H_ */
|