I try to use protostuff within Apache Ignite.
The interface from Ignite Marshaller is shown below:
public void marshal(@Nullable Object obj, OutputStream out) throws IgniteCheckedException;
public byte[] marshal(@Nullable Object obj) throws IgniteCheckedException;
public <T> T unmarshal(InputStream in, @Nullable ClassLoader clsLdr) throws IgniteCheckedException;
public <T> T unmarshal(byte[] arr, @Nullable ClassLoader clsLdr) throws IgniteCheckedException;
My problem is to deserialize the intputstream or the byte array. I have no class information in this context. How can I handle this with prototuff ?