MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / ByteOffset

Method ByteOffset

lib/mdflib/mdflib/src/cn3block.cpp:339–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337uint16_t Cn3Block::BitOffset() const { return start_offset_ % 8; }
338
339uint32_t Cn3Block::ByteOffset() const {
340 return static_cast<uint32_t>(start_offset_/ 8) +
341 static_cast<uint32_t>(byte_offset_);
342}
343
344void Cn3Block::ByteOffset(uint32_t byte_offset) {
345 if (byte_offset < kBitOffset) {

Callers 13

TESTFunction · 0.45
TEST_FFunction · 0.45
CreateBitChannelFunction · 0.45
CreateFrameChannelsMethod · 0.45
PrepareForWritingMethod · 0.45
CreateBitChannelMethod · 0.45
CreateBusChannelMethod · 0.45
CreateSourceFunction · 0.45
CreateDestinationFunction · 0.45

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.36
TEST_FFunction · 0.36