|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
java.io.ByteArrayOutputStream
com.maverick.crypto.io.ByteArrayWriter
com.maverick.ssh.Packet
A utility class that provides the SSH layers with the ability to dynamically write an SSH packet.
Field Summary |
Fields inherited from class java.io.ByteArrayOutputStream |
buf, count |
Constructor Summary | |
Packet()
|
|
Packet(int size)
|
Method Summary | |
void |
finish()
|
int |
position()
|
void |
reset()
|
int |
setPosition(int pos)
|
Methods inherited from class com.maverick.crypto.io.ByteArrayWriter |
array, encodeInt, encodeInt, move, 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 |
Constructor Detail |
public Packet() throws java.io.IOException
public Packet(int size) throws java.io.IOException
Method Detail |
public int setPosition(int pos)
public int position()
public void finish()
public void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |