Rev 1323 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1323 | Rev 1326 | ||
|---|---|---|---|
| Line 28... | Line 28... | ||
| 28 | void setFromBytes(vector<unsigned char> bytes); |
28 | void setFromBytes(vector<unsigned char> bytes); |
| 29 | 29 | ||
| 30 | void incrementPointer(unsigned int steps); |
30 | void incrementPointer(unsigned int steps); |
| 31 | void clear(); |
31 | void clear(); |
| 32 | 32 | ||
| 33 | void |
33 | void read(unsigned int length, long & value); |
| - | 34 | void read(unsigned int length, unsigned long & value); |
|
| 34 | void |
35 | void read(unsigned int length, bool & value); |
| 35 | 36 | ||
| 36 | void |
37 | void write(unsigned int length, long value); |
| 37 | void |
38 | void write(unsigned int length, unsigned long value); |
| 38 | - | ||
| 39 | void readBasicType(unsigned int length, bool & value); |
- | |
| 40 | void |
39 | void write(unsigned int length, bool value); |
| 41 | - | ||
| 42 | void readDecimal(unsigned int length, unsigned int scaling, double & value); |
- | |
| 43 | void writeDecimal(unsigned int length, unsigned int scaling, double value); |
- | |
| 44 | 40 | ||
| 45 | private: |
41 | private: |
| 46 | byte_list myBuffer; |
42 | byte_list myBuffer; |
| 47 | }; |
43 | }; |
| 48 | 44 | ||