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

/prog/ - Programming

Programming
You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.

Name
Email
Subject
REC

0:00

Comment *
File
Select/drop/paste files here
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶Show post options & limits]
Confused? See the FAQ.
Expand all images

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

[–]

7c2268 (3) No.4311 [Watch Thread][Show All Posts]

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 (3) 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 (3) 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][Screencap][Nerve Center][Random][Update] ( Scroll to new posts) ( Auto) 5
2 replies | 0 images | 1 UIDs | Page 4
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ][ watchlist ]