Fixed typo in PutBits
This commit is contained in:
1 parent
13e1e23611
commit
c649e2fe6b
1 file changed
+1
-1
@@ -204,7 +204,7 @@ class ByteBuffer
|
||||
template <typename T> void PutBits(size_t pos, T value, uint32 bitCount)
|
||||
{
|
||||
if (!bitCount)
|
||||
throw ByteBufferSourceException((pos + bitCount) / 8, , size(), 0);
|
||||
throw ByteBufferSourceException((pos + bitCount) / 8, size(), 0);
|
||||
|
||||
if (pos + bitCount > size() * 8)
|
||||
throw ByteBufferPositionException(false, (pos + bitCount) / 8, size(), (bitCount - 1) / 8 + 1);
|
||||
|
||||
Reference in new issue
Block a user