| 927 | unsigned char *__hxcpp_memory = 0; |
| 928 | |
| 929 | void __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 |