8 string from InputStream in Java

There is a stream of serialized C# objects (String fields use standard UTF-8). I'm reading the stream and deserializing it in Java (one object at a time). Java uses MUTF-8 format for the string. DataInputStream.readUTF assumes that format. Is there a way to read just one single "standard" UTF-8 string from input stream?

链接地址: http://www.djcxy.com/p/78366.html

上一篇: 如何将InputStream转换为Java中的字符串?

下一篇: 来自Java中InputStream的8个字符串