public class TByteArrayInputStream extends TInputStream
Modifier and Type | Field and Description |
---|---|
protected byte[] |
buf |
protected int |
count |
protected int |
mark |
protected int |
pos |
Constructor and Description |
---|
TByteArrayInputStream(byte[] buf) |
TByteArrayInputStream(byte[] buf,
int offset,
int length) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
void |
mark(int readAheadLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
read
protected byte[] buf
protected int pos
protected int mark
protected int count
public TByteArrayInputStream(byte[] buf, int offset, int length)
public TByteArrayInputStream(byte[] buf)
public int read()
read
in class TInputStream
public int read(byte[] b, int off, int len)
read
in class TInputStream
public long skip(long n)
skip
in class TInputStream
public int available()
available
in class TInputStream
public boolean markSupported()
markSupported
in class TInputStream
public void mark(int readAheadLimit)
mark
in class TInputStream
public void reset()
reset
in class TInputStream
public void close()
close
in interface TCloseable
close
in interface TAutoCloseable
close
in class TInputStream
Copyright © 2019. All rights reserved.