MCPcopy Create free account
hub / github.com/assimp/assimp / reset

Method reset

contrib/draco/src/draco/core/decoder_buffer.h:130–134  ·  view source on GitHub ↗

Sets the bit buffer to |b|. |s| is the size of |b| in bytes.

Source from the content-addressed store, hash-verified

128
129 // Sets the bit buffer to |b|. |s| is the size of |b| in bytes.
130 inline void reset(const void *b, size_t s) {
131 bit_offset_ = 0;
132 bit_buffer_ = static_cast<const uint8_t *>(b);
133 bit_buffer_end_ = bit_buffer_ + s;
134 }
135
136 // Returns number of bits decoded so far.
137 inline uint64_t BitsDecoded() const {

Callers 12

mainFunction · 0.45
ResizeNodesMethod · 0.45
SceneMethod · 0.45
CopyMethod · 0.45
StartBitDecodingMethod · 0.45
TEST_FFunction · 0.45
CompressMeshWithDracoMethod · 0.45
BuildMeshFromBuilderMethod · 0.45
AddSamplerToAnimationMethod · 0.45
CheckFileWriterFunction · 0.45
CopyMetadataMethod · 0.45

Calls

no outgoing calls

Tested by 2

TEST_FFunction · 0.36
CheckFileWriterFunction · 0.36