public class UnsafeByteArrayInputStream extends InputStream
| 构造器和说明 |
|---|
UnsafeByteArrayInputStream(byte[] buf) |
UnsafeByteArrayInputStream(byte[] buf,
int offset) |
UnsafeByteArrayInputStream(byte[] buf,
int offset,
int length) |
public UnsafeByteArrayInputStream(byte[] buf)
public UnsafeByteArrayInputStream(byte[] buf,
int offset)
public UnsafeByteArrayInputStream(byte[] buf,
int offset,
int length)
public int read()
read 在类中 InputStreampublic int read(byte[] b,
int off,
int len)
read 在类中 InputStreampublic long skip(long len)
skip 在类中 InputStreampublic int available()
available 在类中 InputStreampublic boolean markSupported()
markSupported 在类中 InputStreampublic void mark(int readAheadLimit)
mark 在类中 InputStreampublic void reset()
reset 在类中 InputStreampublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 InputStreamIOExceptionpublic int position()
public void position(int newPosition)
public int size()
Copyright © 2018. All rights reserved.