I wrote a network communication based on mina framework now encountered a data transfer problems
1. How to make an array of bytes sent to the server
2. There is my encoder is ObjectSerializationCodecFactory object code
A byte array in a message object attributes and properties for the byte array to add data, how do I transform and sent to the server through object,
Pray god to help