chaokunyang commented on issue #1900:
URL: https://github.com/apache/fury/issues/1900#issuecomment-2431592546

   You can just serialize by `fury.serialize(new Object[] {your objects})`. Or 
you can create a `org.apache.fury.io.MemoryBufferObjectOutput` for that:
   
   ```java
   MemoryBufferObjectOutput out = new MemoryBufferObjectOutput(fury, buffer);
   out.writeByte(SerialisationMethod.Client.PlayerCharacter.ordinal());
   out.writeUTF(getId()); //GUID string
   byte[] bytes = buffer.getBytes(0, buffer.writerIndex());
   buffer.writerIndex(0);
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to