projects
/
iotcloud.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
edits
[iotcloud.git]
/
version2
/
src
/
C
/
ByteBuffer.h
1
#ifndef BYTEBUFFER_H
2
#define BYTEBUFFER_H
3
#include "common.h"
4
5
class ByteBuffer {
6
public:
7
void put(char c);
8
void putInt(int32_t l);
9
void putLong(int64_t l);
10
void put(Array<char> * array);
11
int64_t getLong();
12
int32_t getInt();
13
char get();
14
void get(Array<char> * array);
15
Array<char> * array();
16
private:
17
};
18
ByteBuffer * ByteBuffer_wrap(Array<char> * array);
19
#endif