- java.lang.Object
-
- java.io.OutputStream
-
- java.io.ByteArrayOutputStream
-
- com.sshtools.common.util.ByteArrayWriter
-
- com.sshtools.common.ssh.Packet
-
-
Field Summary
-
Fields inherited from class java.io.ByteArrayOutputStream
buf, count
-
Constructor Summary
Constructors
| Constructor and Description |
Packet() |
Packet(int size) |
-
Method Summary
-
Methods inherited from class com.sshtools.common.util.ByteArrayWriter
array, dispose, encodeInt, encodeInt, encodeString, move, silentClose, stripLeadingZeros, writeBigInteger, writeBinaryString, writeBinaryString, writeBoolean, writeInt, writeInt, writeMPINT, writeShort, writeString, writeString, writeUINT32, writeUINT64, writeUINT64
-
Methods inherited from class java.io.ByteArrayOutputStream
close, size, toByteArray, toString, toString, toString, write, write, writeTo
-
Methods inherited from class java.io.OutputStream
flush, write
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
Method Detail
-
position
public int position()
-
finish
public void finish()
-
reset
public void reset()
- Overrides:
reset in class java.io.ByteArrayOutputStream
Copyright © 2022. All rights reserved.