Package org.jivesoftware.smack.util
Class OutputStreamUtil
java.lang.Object
org.jivesoftware.smack.util.OutputStreamUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
writeByteSafe
(OutputStream outputStream, int i, String message) static void
writeResetAndFlush
(ByteArrayOutputStream byteArrayOutputStream, OutputStream outputStream)
-
Constructor Details
-
OutputStreamUtil
public OutputStreamUtil()
-
-
Method Details
-
writeByteSafe
public static void writeByteSafe(OutputStream outputStream, int i, String message) throws IOException - Throws:
IOException
-
writeResetAndFlush
public static void writeResetAndFlush(ByteArrayOutputStream byteArrayOutputStream, OutputStream outputStream) throws IOException - Throws:
IOException
-