I need a script to export & import text. Here are struct of file

1: unrelated.
2: Length of Array is CB = 203, 01 is Buffer byte.
3: 4 bytes. Each array always has 4 bytes that specify the values of the string such as ID, type, ...
4: Length of String is BD = 189, 01 is Buffer byte.
5: End of each string always is 20.
6: End bytes: can take 7-9 bytes depending on the array.
7: Down the line and switch to the new array.
*** Buffer Byte:
- If Length of Array or Length of String <128, does not have Buffer byte.
- If Length of Array or Length of String between 128~256, Buffer byte = 01.
- If Length of Array or Length of String >256, Buffer byte = 02, Length = Length - 256.
The array has the same structure as above
File on Attachment
Thanks for helping
