MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / byteDataSize

Function byteDataSize

test/cffi/project/Project.cpp:265–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263
264
265value byteDataSize(value byteData)
266{
267 CffiBytes bytes = getByteData(byteData);
268 if (bytes.data==0)
269 return alloc_null();
270 return alloc_int(bytes.length);
271}
272DEFINE_PRIM(byteDataSize, 1);
273
274

Callers

nothing calls this directly

Calls 3

getByteDataFunction · 0.85
alloc_nullFunction · 0.50
alloc_intFunction · 0.50

Tested by

no test coverage detected