MCPcopy Create free account
hub / github.com/VCVRack/Rack / vector

Function vector

include/random.hpp:160–164  ·  view source on GitHub ↗

Creates a vector of random bytes. */

Source from the content-addressed store, hash-verified

158
159/** Creates a vector of random bytes. */
160inline std::vector<uint8_t> vector(size_t len) {
161 std::vector<uint8_t> v(len);
162 buffer(v.data(), len);
163 return v;
164}
165
166
167} // namespace random

Callers

nothing calls this directly

Calls 1

bufferFunction · 0.85

Tested by

no test coverage detected