I'm trying to send data from C# app, to Java using Named pipes. Data is in form of a custom object. C# writer initialization is below:
BinaryWriter writer = new BinaryWriter(new BufferedWriterStream(stream, (70 * 1024) + 512), defaultEncoding);
defaultEncoding --> UTF-8
I'm able to write data to the pipe, but on Java side, having issues reading that custom object. What kind of stream would help in this case ?
I've tried DataInputStream, ByteArrayInputStream, ObjectInputStream, but nothing helps.
I need to get that data in Java, do some processing, and send it back to C#