[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]

/prog/ - Programming

Programming

Name
Email
Subject
REC
STOP
Comment *
File
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶Show post options & limits]
Confused? See the FAQ.
Options

Allowed file types:jpg, jpeg, gif, png, webp,webm, mp4, mov
Max filesize is16 MB.
Max image dimensions are15000 x15000.
You may upload5 per post.


File: 1467397035613.jpg (26.22 KB,477x300,159:100,cross-platform.jpg)

7c2268 No.4311

Is there any tool that can generate C#, Java and Javascript class files (I know javascript have no classes) that can be easily converted to byte[] and back?

I remember google having something like it, but I don't even know how to search for something like it

I am expecting something that read some xml/json/proprietary file, and produce empty classes with just the serialize and deserialize methods ready

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

7c2268 No.4319

You should write that tool yourself. I bet /tech/ would love to make a logo for it.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

7c2268 No.4330

In case you're still looking, Google's Protocol Buffers. You can also use MsgPack or thrift.

Protocol Buffers have a JSON serialization format, but it's not available in all languages.

The word you're looking for is "serialization". Binary serialization is what it looks like you really want.

Based on your last sentence, google protocol buffers is exactly what you want.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



[Return][Go to top][Catalog][Nerve Center][Random][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]