LoadServiceResourceInputStream — members
3+
C
new(bytes)
C
new(stream)
M
bytes()
byte[]
from InputStream
M
read(arg0)
int
M
read_n_bytes(arg0)
byte[]
C
skip_n_bytes(arg0)
from ByteArrayInputStream
M
available()
int
C
close()
C
mark(arg0)
M
mark_supported()
boolean
M
read()
int
M
read(arg0, arg1, arg2)
int
M
read_all_bytes()
byte[]
M
read_n_bytes(arg0, arg1, arg2)
int
C
reset()
M
skip(arg0)
long
M
transfer_to(arg0)
long
org.jruby.runtime.load. LoadServiceResourceInputStream
class
extends ByteArrayInputStream
3 members
Constructors
new
new
(
byte[] bytes
)
Java: <init>(byte[] bytes)
Construct a LoadServiceResourceInputStream from the given bytes.
name type description
bytes byte[] the bytes to wrap in this stream
new
new
(
InputStream stream
)
Java: <init>(java.io.InputStream stream)
Construct a new LoadServiceInputStream by reading all bytes from the
specified stream.
You are responsible for the lifecycle of the given stream after this
constructor has been called (i.e. it will not be closed for you).
name type description
stream java.io.InputStream the stream from which to read bytes
Throws
IOException
if the reading causes an IOException
Instance Methods
bytes
byte[]
bytes
(
)
Java: getBytes() · also: get_bytes
Inherited
from InputStream
read
int
read
(
byte[] arg0
)
Java: read(byte[] arg0)
read_n_bytes
byte[]
read_n_bytes
(
int arg0
)
Java: readNBytes(int arg0)
skip_n_bytes
skip_n_bytes
(
long arg0
)
Java: skipNBytes(long arg0)
from ByteArrayInputStream
available
int
available
(
)
Java: available()
mark
mark
(
int arg0
)
Java: mark(int arg0)
mark_supported
boolean
mark_supported
(
)
Java: markSupported()
read
int
read
(
)
Java: read()
read
int
read
(
byte[] arg0 ,
int arg1 ,
int arg2
)
Java: read(byte[] arg0, int arg1, int arg2)
read_all_bytes
byte[]
read_all_bytes
(
)
Java: readAllBytes()
read_n_bytes
int
read_n_bytes
(
byte[] arg0 ,
int arg1 ,
int arg2
)
Java: readNBytes(byte[] arg0, int arg1, int arg2)
skip
long
skip
(
long arg0
)
Java: skip(long arg0)
transfer_to
long
transfer_to
(
OutputStream arg0
)
Java: transferTo(java.io.OutputStream arg0)