/      日本語

Utility Functions

Other utility functions

Printf Implementation

Functionality similar to C standard printf

pack_bits()

Set bits to 1 at specified positions

collect_bits()

Create a bitmap from specified bit positions

Byte array utils

Conversion between byte arrays and 16/32-bit integers

pack_bytes()

Generate a byte sequence by concatenating element data

expand-bytes()

“Decompose a byte sequence and store it into variables”

CRC8, XOR, LRC

Checksum calculation

div10(), div100(), div1000()

Calculate quotient and remainder when divided by 10, 100, or 1000

Scale utils

Optimized value scaling processing

pnew()

Simplifies the syntax for placement new