Andoryuuta / kiwi

A package for memory editing in go.
MIT License
38 stars 7 forks source link

Add common string functions. #7

Closed Andoryuuta closed 4 years ago

Andoryuuta commented 4 years ago

There are many different ways to represent "strings" in memory (different encodings, null-terminated or not, encoding endianess, etc). It would be difficult to make a universal solution for this, so we should at least add some basic functionality for the most common use cases:

ReadNullTerminatedUTF8String() ReadNullTerminatedUTF16String()