Send Byte[]

Aug 4, 2014 at 12:49 AM
Hello!
I've been experimenting with your framework, and I've become a bit lost. Is there a way to use it without a codec and just simply send raw byte[] back and forth? I was hoping to use something such as protobuf to serialize the data. Thanks!
Coordinator
Jan 7, 2015 at 1:58 AM
Very sorry for the late response :( I didn't notice there's a discussion area here before...

You can use without any codec. The representation of raw byte[] inside the framework is IoBuffer.
To send raw byte[], just wrap it with IoBuffer.Wrap() before writing to a session.
Jan 7, 2015 at 3:00 AM
Nevermind, I found another much more simplified project that does what I need.

Here's the link if you're interested:
https://github.com/Yonom/ByteNom

Thanks though. :)
Coordinator
Jan 7, 2015 at 9:42 AM
Nice project.
Thanks for sharing.