MCPcopy Create free account
hub / github.com/archseer/enigma / copy_bits

Function copy_bits

enigma/src/bitstring.rs:1393–1520  ·  view source on GitHub ↗

The basic bit copy operation. Copies n bits from the source buffer to the destination buffer. Depending on the directions, it can reverse the copied bits.

(
    mut src: *const u8, // Base pointer to source.
    soffs: usize,       // Bit offset for source relative to src.
    sdir: isize,        // Direction: 1 (forward) or -1 (backward).
    mut dst: 

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

get_bytesMethod · 0.85
get_floatMethod · 0.85
align_utf8_bytesMethod · 0.85
get_utf16Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected