serialization - Excel VBA binary de/serializer - how do i read and write data given a format string -
i have data in format this:
value format offset len 9293949596 "%10s" 0x0000 10 2008-10-01 "20%2u-%2u-%2u" 0x000a 3 0xff "0x%x" 0x000d 1 i need build virtual memory value it. , need build value virtual memory.
the general ideal use c like:
//to build memory value sscanf(value, format, buffer) //to build value memory sprintf(value, format, buffer) how can build using vba functions? if there vba format convention can use? (the format can still changed fit needs.)
edit #1:
i found format function native excel. can not find how use same sting parse information byte buffer,
edit #2:
there seems possibility import sscanf vba. unable this:
public declare function sscanf lib "msvcrt.dll" ( ???? ) integer
Comments
Post a Comment