MCPcopy Create free account
hub / github.com/ElementsProject/elements / write32s

Function write32s

src/simplicity/frame.h:145–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145static inline void write32s(frameItem* frame, const uint32_t* x, size_t n) {
146 for(; n; --n) simplicity_write32(frame, *(x++));
147}
148
149/* Read bytes from a Simplicity buffer of type (TWO^8)^<2^(n+1) into 'buf'.
150 * Set 'len' to the number of bytes read from the buffer.

Callers 13

simplicity_sha_256_ivFunction · 0.85
simplicity_sha_256_blockFunction · 0.85
test_hashBlockFunction · 0.85
runTCOFunction · 0.85
writeHashFunction · 0.85
writeHashFunction · 0.85
simplicity_script_cmrFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_hashBlockFunction · 0.68