Ah! OK, I think I understand better.
Your serialize method looks almost OK -- as I mentioned, you can use an
OutputStream wrapper to write directly to a ByteBuffer. This wrapper
doesn't exist in the Java utilities AFAIK, but there are examples on the
web (
https://github.com/EsotericSoftware/kry
Hi Ryan,
Thank you so much for your reply! You were right about the encoder in the
serializer method, that was my mistake. I submitted a png rather than just
text because I thought the highlighting would help.
I may not have been very clear about my question, I understand that via the
DatumWriter/
Hello!
It's a bit difficult to discover what's going wrong -- I'm not sure that
the code in the image corresponds to the exception you are encountering!
Notably, there's no reference to DataFileStream... Typically, it would be
easier with code as TXT than as PNG!
It is definitely possible to ser
Hello,
I am trying to write a sequence of Avro GenericRecords into a Java
ByteBuffer and later on deserialize them. I have tried using
FileWriter/Readers and copying the content of the underlying buffer to my
target object. The alternative is to try to split a ByteBuffer by the
serialized GenericR