public class SocketBuffedWriter extends Object implements BuffedWriter
| 构造器和说明 |
|---|
SocketBuffedWriter(Socket socket) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
flushToTarget(boolean force) |
void |
writeBinary(byte byt) |
void |
writeBinary(byte[] bytes) |
void |
writeBinary(byte[] bytes,
int offset,
int length) |
public SocketBuffedWriter(Socket socket) throws IOException
IOExceptionpublic void writeBinary(byte byt)
throws IOException
writeBinary 在接口中 BuffedWriterIOExceptionpublic void writeBinary(byte[] bytes)
throws IOException
writeBinary 在接口中 BuffedWriterIOExceptionpublic void writeBinary(byte[] bytes,
int offset,
int length)
throws IOException
writeBinary 在接口中 BuffedWriterIOExceptionpublic void flushToTarget(boolean force)
throws IOException
flushToTarget 在接口中 BuffedWriterIOExceptionCopyright © 2020. All rights reserved.