If someone is interested in what i was making out of this...
Here is the link to the german forum <!-- m -->
http://de.autohotkey...pic.php?t=10295<!-- m -->
In the documentation (Dokumentation) is at the end a test-code you can try to understand it.
Vor Non-Objects there is a "binary-mode" which you can enter using the alloc-method and leave with the free-Method.
If you are in binary-mode, you can use the variable like the file-object.
For write-Operations, the size of the buffer will automaticly increase, if there is less than required allocated.
RegEx does not have the same syntax as in AHK "options)searchstring".
The RegEx in this Library looks like "/searchstring/options", because this way you can use Strings too for searching.
For Example:
str := "This is a test!"
strA := str.replace("/test/i", "lie")
strB := str.replace("test", "lie")
Would both do exactly the same.