public class NonSyncByteArrayInputStream extends ByteArrayInputStream
buf, count, mark, pos
Constructor and Description |
---|
NonSyncByteArrayInputStream() |
NonSyncByteArrayInputStream(byte[] bs) |
NonSyncByteArrayInputStream(byte[] buf,
int offset,
int length) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
int |
getLength() |
int |
getPosition() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset(byte[] input,
int start,
int length) |
long |
skip(long n) |
close, mark, markSupported, reset
read
public NonSyncByteArrayInputStream()
public NonSyncByteArrayInputStream(byte[] bs)
public NonSyncByteArrayInputStream(byte[] buf, int offset, int length)
public void reset(byte[] input, int start, int length)
public int getPosition()
public int getLength()
public int read()
read
in class ByteArrayInputStream
public int read(byte[] b, int off, int len)
read
in class ByteArrayInputStream
public long skip(long n)
skip
in class ByteArrayInputStream
public int available()
available
in class ByteArrayInputStream
Copyright © 2017 The Apache Software Foundation. All rights reserved.