public class BinaryStreamImpl extends ByteArrayInputStream implements BinaryStream
BinaryStream
buf, count, mark, pos
Constructor and Description |
---|
BinaryStreamImpl(byte[] bytes) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes()
Access to the bytes.
|
InputStream |
getInputStream()
Retrieve the input stream.
|
int |
getLength()
Retrieve the length of the input stream
|
available, close, mark, markSupported, read, read, reset, skip
read
public InputStream getInputStream()
BinaryStream
getInputStream
in interface BinaryStream
public byte[] getBytes()
BinaryStream
getBytes
in interface BinaryStream
public int getLength()
BinaryStream
getLength
in interface BinaryStream
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.