public final class BinarySafeStream extends Object
This implementation uses a variation of base64. A care has been taken to ensure that the following scenario is handled correctly.
Modifier and Type | Method and Description |
---|---|
static InputStream |
wrap(InputStream in)
Decode binary safe stream.
|
static OutputStream |
wrap(OutputStream out)
Wraps an
OutputStream to encoding OutputStream . |
public static InputStream wrap(InputStream in)
public static OutputStream wrap(OutputStream out)
OutputStream
to encoding OutputStream
.out
- This output stream should be buffered for better performance.Copyright © 2004–2022. All rights reserved.