mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add MachoManiac
This commit is contained in:
parent
04c0b7aeae
commit
50b1c46678
34 changed files with 5269 additions and 0 deletions
10
helpers/macho/macho.cstr.js
Normal file
10
helpers/macho/macho.cstr.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
var Cstr = function Cstr(buf) {
|
||||
this.toString = function() {
|
||||
return JSON.stringify(this);
|
||||
};
|
||||
var cstr = '';
|
||||
for(var i = 0; i < buf.length; i++) {
|
||||
cstr += String.fromCharCode(buf[i]);
|
||||
}
|
||||
return cstr;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue