xlang v4.0 Release
程序设计语言基础库文档
|
流接口 更多...
Public 成员函数 |
静态包属性 |
流接口
在文件 BuiltinObjects.x 第 788 行定义.
long available | ( | bool | wait | ) |
是否可读
wait | 是否等待 |
在 FileInputStream, FileOutputStream, FileInputStream, FileOutputStream, StreamSocket , 以及 StreamSocket 内被实现.
long available | ( | bool | ) | throws IllegalArgumentException, IOException, InterruptedException |
在 FileInputStream, FileOutputStream, FileInputStream, FileOutputStream, StreamSocket , 以及 StreamSocket 内被实现.
void close | ( | ) | throws IllegalArgumentException |
在 StreamSocket, StreamSocket, FileInputStream, FileOutputStream, FileInputStream , 以及 FileOutputStream 内被实现.
被这些函数引用 FileOutputStream.finalize().
void close | ( | ) |
关闭流
在 StreamSocket, StreamSocket, FileInputStream, FileOutputStream, FileInputStream , 以及 FileOutputStream 内被实现.
void flush | ( | ) | throws IOException |
在 StreamSocket, FileInputStream, FileOutputStream, FileInputStream , 以及 FileOutputStream 内被实现.
long getPosition | ( | ) | throws IllegalArgumentException, IOException |
在 StreamSocket, FileInputStream, FileOutputStream, FileInputStream , 以及 FileOutputStream 内被实现.
long getPosition | ( | ) |
获取流当前位置
在 StreamSocket, FileInputStream, FileOutputStream, FileInputStream , 以及 FileOutputStream 内被实现.
long length | ( | ) | throws IllegalArgumentException, IOException |
在 StreamSocket, FileInputStream, FileOutputStream, FileInputStream , 以及 FileOutputStream 内被实现.
long length | ( | ) |
获取流总长
在 StreamSocket, FileInputStream, FileOutputStream, FileInputStream , 以及 FileOutputStream 内被实现.
int read | ( | byte [] | buffer, |
int | pos, | ||
int | length | ||
) |
int read | ( | byte | [], |
int | , | ||
int | |||
) | throws IndexOutOfBoundsException, IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final bool readBool | ( | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final bool readBoolLE | ( | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final char readChar | ( | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final char readCharLE | ( | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final double readDouble | ( | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final double readDoubleLE | ( | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final float readFloat | ( | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final float readFloatLE | ( | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final int readInt | ( | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final int readIntLE | ( | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final long readLong | ( | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final long readLongLE | ( | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final short readShort | ( | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final short readShortLE | ( | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final String readString | ( | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final String readStringLE | ( | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
long seek | ( | int | , |
long | |||
) | throws IndexOutOfBoundsException, IllegalArgumentException, IOException |
在 FileOutputStream, FileOutputStream, FileInputStream, FileInputStream , 以及 StreamSocket 内被实现.
long setPosition | ( | int | pos | ) |
设置流位置
pos | 位置 |
int write | ( | byte [] | buffer, |
int | pos, | ||
int | length | ||
) |
写入数据
buffer | 缓冲区 |
pos | 位置 |
length | 长度 |
在 StreamSocket, FileOutputStream , 以及 FileOutputStream 内被实现.
int write | ( | byte | [], |
int | , | ||
int | |||
) | throws IndexOutOfBoundsException, IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final void writeBool | ( | bool | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final void writeBoolLE | ( | bool | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final void writeChar | ( | char | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final void writeCharLE | ( | char | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final void writeDouble | ( | double | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final void writeDoubleLE | ( | double | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final void writeFloat | ( | float | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final void writeFloatLE | ( | float | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final void writeInt | ( | int | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final void writeIntLE | ( | int | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final void writeLong | ( | long | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final void writeLongLE | ( | long | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final void writeShort | ( | short | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final void writeShortLE | ( | short | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final void writeString | ( | String | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
final void writeStringLE | ( | String | ) | throws IllegalArgumentException, IOException, TimeoutException, InterruptedException |
在 StreamSocket 内被实现.
|
staticpackage |
在文件 BuiltinObjects.x 第 789 行定义.
|
staticpackage |
在文件 BuiltinObjects.x 第 790 行定义.
|
staticpackage |
在文件 BuiltinObjects.x 第 791 行定义.