diff options
| author | Daniil Cherednik <[email protected]> | 2016-11-27 22:59:50 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2016-11-27 22:59:50 +0300 |
| commit | 00a040eee75ef0076180958ed736e3dfe171b49e (patch) | |
| tree | 80172eee5ba972721be28bbebc918f057aba299c /src/bitstream/bitstream.h | |
| parent | fa1541bc5eb0339e0752bda6afd67f6669e32232 (diff) | |
Support of big endian platforms
Diffstat (limited to 'src/bitstream/bitstream.h')
| -rw-r--r-- | src/bitstream/bitstream.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bitstream/bitstream.h b/src/bitstream/bitstream.h index eb813cc..b3a9b72 100644 --- a/src/bitstream/bitstream.h +++ b/src/bitstream/bitstream.h @@ -18,8 +18,8 @@ class TBitStream { public: TBitStream(const char* buf, int size); TBitStream(); - void Write(unsigned long long val, int n); - unsigned long long Read(int n); + void Write(uint32_t val, int n); + uint32_t Read(int n); unsigned long long GetSizeInBits() const; uint32_t GetBufSize() const { return Buf.size(); }; const std::vector<char>& GetBytes() const { |
