public class ByteArrayOutput extends Object implements BinaryOutput
| Constructor and Description |
|---|
ByteArrayOutput() |
public Charset getCharset()
getCharset in interface BinaryOutputpublic void write(byte b)
throws IOException
write in interface BinaryOutputIOExceptionpublic void write(byte[] bytes)
throws IOException
write in interface BinaryOutputIOExceptionpublic void write(byte[] bytes,
int off,
int len)
throws IOException
write in interface BinaryOutputIOExceptionpublic byte[] getBytes()
public String getString() throws UnsupportedEncodingException
UnsupportedEncodingExceptionCopyright © 2016 JBoss by Red Hat. All Rights Reserved.