Reputation: 1721
Simple question, is it possible to send a raw byte array packet with Kryonet? The client doesn't use Kryonet and will read the bytes
Thanks
Upvotes: 1
Views: 709
Reputation: 1117
Kryonet is based on simple tcp communication via NIO along with build-in kryo serialization. Kryonet without kryo serialization is just tcp client/server, nothing more.
Or if you want simple solution, you can just create a wrapper for the entity having one attribute in the form of byte[] and use customer serializer to serialize byte[]. It's the fastest way for some proof of concept etc.
Upvotes: 1