public class InputStreamAssit extends Object
| 构造器和说明 |
|---|
InputStreamAssit(InputStream is) |
public InputStreamAssit(InputStream is)
public int readInt(int length)
throws IOException
IOExceptionpublic long readLong(int length)
throws IOException
IOExceptionpublic byte[] readBytes(int length)
throws IOException
IOExceptionpublic byte readByte()
throws IOException
IOExceptionpublic String readStr(int length) throws IOException
length - 一定要是偶数IOException - 读异常Copyright © 2017. All rights reserved.