public class HexOutputStream extends OutputStream
Constructor and Description |
---|
HexOutputStream(StringWriter w)
Creates a new HexOutputStream.
|
Modifier and Type | Method and Description |
---|---|
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b)
Writes a byte.
|
close, flush
public HexOutputStream(StringWriter w)
w
- The underlying StringWriter.public void write(int b) throws IOException
write
in class OutputStream
IOException
- I/O error occurred.public void write(byte[] b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
Copyright © 2018 JBoss by Red Hat. All rights reserved.