Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: (De)-Serializing from/to VB

by SuicideJunkie (Vicar)
on Jan 18, 2016 at 22:05 UTC ( #1153038=note: print w/replies, xml ) Need Help??


in reply to (De)-Serializing from/to VB

That looks more like .net than VB6 to me, but the most important thing is: what bytes do you have as input, and what do you want to get out?

Unpack with parameters matching the structure written to disk is likely what you want, but it may be simpler than that. Sample data is key to knowing what you need.

Replies are listed 'Best First'.
Re^2: (De)-Serializing from/to VB
by belg4mit (Prior) on Jan 18, 2016 at 22:22 UTC
    Yeah, I was expecting to use pack/unpack, but speaking with the developer lead me to believe that VB might do something beyond the obvious for its serialization a la Storable. However as I continue to hunt and gather evidence, it does look like it's your typical data structure puked out as binary. Hopefully I can convince him to share his Structure definitions so that I do not have to try to reverse engineer things.

    --
    In Bob We Trust, All Others Bring Data.

      Can you put some known data into one of these blobs and then dump it in binary?

      In the absence of definitions; that's the best approach.


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
      In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1153038]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2021-02-28 19:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?