This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Function
loadBits
Public Function
std.Build.Configuration.loadBits
pubfnloadBits(comptimeInt: type, buffer: []constInt, bit_offset: usize, comptimeResult: type) Result
Loads bits using native endianness when value spans multiple bytes. On big endian architectures, bit_offset uses MSb 0 bit numbering. On little endian architectures, bit_offset uses LSb 0 bit numbering. See storeBits.
Loads bits using native endianness when
valuespans multiple bytes. On big endian architectures,bit_offsetuses MSb 0 bit numbering. On little endian architectures,bit_offsetuses LSb 0 bit numbering. SeestoreBits.