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

Function read8s

src/simplicity/frame.h:133–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131void simplicity_write64(frameItem* frame, uint_fast64_t x);
132
133static inline void read8s(unsigned char* x, size_t n, frameItem* frame) {
134 for(; n; --n) *(x++) = (unsigned char)simplicity_read8(frame);
135}
136
137static inline void write8s(frameItem* frame, const unsigned char* x, size_t n) {
138 for(; n; --n) simplicity_write8(frame, *(x++));

Callers 14

sha_256_ctx_8_add_nFunction · 0.85
read_feFunction · 0.85
read_scalarFunction · 0.85
simplicity_hash_to_curveFunction · 0.85
simplicity_read_buffer8Function · 0.85
simplicity_outpoint_hashFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected