I am just not sure if dexlib2/src/main/java/org/jf/dexlib2/writer/io/MemoryDataStore.java is done in a correct way.
The original smali has made some changes, but @testwhat already had made some changes. So I tried to merge this in a sane way, but having no experience with that codebase myself, I am not sure if I have done this correctly.
I am just not sure if
dexlib2/src/main/java/org/jf/dexlib2/writer/io/MemoryDataStore.java
is done in a correct way. The original smali has made some changes, but @testwhat already had made some changes. So I tried to merge this in a sane way, but having no experience with that codebase myself, I am not sure if I have done this correctly.