public class HandshakeOutStream extends ByteArrayOutputStream
| 限定符和类型 | 字段和说明 |
|---|---|
(专用程序包) OutputRecord |
outputRecord |
buf, count| 构造器和说明 |
|---|
HandshakeOutStream(OutputRecord outputRecord) |
| 限定符和类型 | 方法和说明 |
|---|---|
private static void |
checkOverflow(int length,
int limit) |
(专用程序包) void |
complete() |
void |
flush() |
void |
putBytes16(byte[] b) |
(专用程序包) void |
putBytes24(byte[] b) |
(专用程序包) void |
putBytes8(byte[] b) |
(专用程序包) void |
putInt16(int i) |
(专用程序包) void |
putInt24(int i) |
(专用程序包) void |
putInt32(int i) |
(专用程序包) void |
putInt8(int i) |
void |
write(byte[] b,
int off,
int len) |
close, reset, size, toByteArray, toString, toString, toString, write, writeTowriteOutputRecord outputRecord
HandshakeOutStream(OutputRecord outputRecord)
void complete()
throws IOException
IOExceptionpublic void write(byte[] b,
int off,
int len)
write 在类中 ByteArrayOutputStreampublic void flush()
throws IOException
flush 在接口中 Flushableflush 在类中 OutputStreamIOExceptionvoid putInt8(int i)
throws IOException
IOExceptionvoid putInt16(int i)
throws IOException
IOExceptionvoid putInt24(int i)
throws IOException
IOExceptionvoid putInt32(int i)
throws IOException
IOExceptionvoid putBytes8(byte[] b)
throws IOException
IOExceptionpublic void putBytes16(byte[] b)
throws IOException
IOExceptionvoid putBytes24(byte[] b)
throws IOException
IOExceptionprivate static void checkOverflow(int length,
int limit)
Copyright © 2023. All rights reserved.