| 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(); |