sources/network/bytestream.h

changeset 180
2e7225dbd9b2
parent 158
de7574d292ad
child 182
20ca0a6be175
equal deleted inserted replaced
179:7fc34735178e 180:2e7225dbd9b2
58 { 58 {
59 public: 59 public:
60 Bytestream(ByteArray& data); 60 Bytestream(ByteArray& data);
61 61
62 int bytesLeft() const; 62 int bytesLeft() const;
63 ByteArray::Iterator getCurrentIterator(); 63 ByteArray::iterator getCurrentIterator();
64 int position() const; 64 int position() const;
65 ByteArray readBuffer(int length); 65 ByteArray readBuffer(int length);
66 int8_t readByte(); 66 int8_t readByte();
67 int32_t readLong(); 67 int32_t readLong();
68 int16_t readShort(); 68 int16_t readShort();

mercurial