LouisLou2 commented on issue #2096:
URL: https://github.com/apache/fury/issues/2096#issuecomment-2864932763
this is an example:
```java
package org.apache.fury;
import org.apache.fury.config.*;
public class Main {
public static class RecordA {
private long long64 = 1L;
}
public static class RecordA1 {
private long long64 = 1L;
}
public static void main(String[] args) {
Fury fury =
Fury.builder()
.withLanguage(Language.XLANG)
.build();
fury.register(RecordA.class, "aaaaAAAAaaaa");
fury.register(RecordA1.class, "bbbbBBBBbbbb");
byte[] bytesA = fury.serialize(new RecordA());
RecordA recordA = (RecordA) fury.deserialize(bytesA);
byte[] bytesA1 = fury.serialize(new RecordA1());
RecordA1 recordA1 = (RecordA1) fury.deserialize(bytesA1);
}
}
```

--
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]