Shuffling kernel/.
This commit is contained in:
@@ -15,10 +15,11 @@
|
||||
#include "xenia/base/byte_order.h"
|
||||
|
||||
namespace xe {
|
||||
|
||||
BitStream::BitStream(uint8_t* buffer, size_t size_in_bits)
|
||||
: buffer_(buffer), size_bits_(size_in_bits) {}
|
||||
|
||||
BitStream::~BitStream() {}
|
||||
BitStream::~BitStream() = default;
|
||||
|
||||
void BitStream::SetOffset(size_t offset_bits) {
|
||||
assert_false(offset_bits > size_bits_);
|
||||
@@ -140,4 +141,4 @@ size_t BitStream::Copy(uint8_t* dest_buffer, size_t num_bits) {
|
||||
|
||||
void BitStream::Advance(size_t num_bits) { SetOffset(offset_bits_ + num_bits); }
|
||||
|
||||
} // namespace xe
|
||||
} // namespace xe
|
||||
|
||||
Reference in New Issue
Block a user