public class LoadServiceResourceInputStream extends ByteArrayInputStream
buf, count, mark, pos| Constructor and Description | 
|---|
| LoadServiceResourceInputStream(byte[] bytes)Construct a LoadServiceResourceInputStream from the given bytes. | 
| LoadServiceResourceInputStream(InputStream stream)Construct a new LoadServiceInputStream by reading all bytes from the
 specified stream. | 
| Modifier and Type | Method and Description | 
|---|---|
| byte[] | getBytes() | 
available, close, mark, markSupported, read, read, reset, skipreadpublic LoadServiceResourceInputStream(byte[] bytes)
bytes - the bytes to wrap in this streampublic LoadServiceResourceInputStream(InputStream stream) throws IOException
stream - the stream from which to read bytesIOException - if the reading causes an IOExceptionCopyright © 2001-2016 JRuby. All Rights Reserved.