MCPcopy Create free account
hub / github.com/GNOME/gjs / gjs_byte_array_from_byte_array

Function gjs_byte_array_from_byte_array

gjs/byteArray.cpp:185–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185JSObject* gjs_byte_array_from_byte_array(JSContext* cx, GByteArray* array) {
186 return gjs_byte_array_from_data_copy(cx, array->len, array->data);
187}
188
189GBytes* gjs_byte_array_get_bytes(JSObject* obj) {
190 bool is_shared_memory;

Calls 1

Tested by

no test coverage detected