This commit is contained in:
lenheart
2024-10-11 23:56:27 +08:00
parent 91ff5af4f1
commit e82c5ceee3
24 changed files with 2033 additions and 36 deletions

View File

@@ -29,6 +29,17 @@ class NativePointer extends Base_C_Object {
}
}
function Output(Size) {
local Buf = Sq_Point2Blob(this.C_Object, Size);
local Str = "[";
foreach(Value in Buf) {
Str = format("%s%02X", Str, Value);
Str += ",";
}
Str += "]";
print(Str);
}
function add(intoffset) {
this.C_Object = Sq_PointerOperation(this.C_Object, intoffset, "+");
return this;