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

Function __hxcpp_memory_memset

src/hx/StdLibs.cpp:929–938  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

927unsigned char *__hxcpp_memory = 0;
928
929void __hxcpp_memory_memset(Array<unsigned char> &inBuffer ,int pos, int len, int value)
930{
931 if (pos<inBuffer->length)
932 {
933 if (pos+len>inBuffer->length)
934 len = inBuffer->length - pos;
935 if (len>0)
936 memset( inBuffer->Pointer() + pos, value, len);
937 }
938}
939

Callers

nothing calls this directly

Calls 1

PointerMethod · 0.45

Tested by

no test coverage detected