mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 01:24:18 +00:00
14 lines
311 B
C
14 lines
311 B
C
#ifndef _NETWORK_H
|
|
#define _NETWORK_H
|
|
|
|
#include <cstring>
|
|
#include "common.h"
|
|
|
|
char *WriteInt32(char *buffer, int32 value);
|
|
char *WriteFixedString(char *buffer, const char *string, int strlen);
|
|
|
|
char *ReadInt32(char *buffer, int32 *value);
|
|
char *ReadFixedString(char *buffer, char *string, int strlen);
|
|
|
|
#endif
|