Package com.sshtools.common.util
Class SimpleASNWriter
java.lang.Object
com.sshtools.common.util.SimpleASNWriter
- Author:
- $author$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]voidwrite(byte[] b) voidwriteByte(int b) voidwriteData(byte[] b) voidwriteLength(int length)
-
Constructor Details
-
SimpleASNWriter
public SimpleASNWriter()Creates a new SimpleASNWriter object.
-
-
Method Details
-
writeByte
public void writeByte(int b) - Parameters:
b-
-
write
public void write(byte[] b) -
writeData
public void writeData(byte[] b) - Parameters:
b-
-
writeLength
public void writeLength(int length) - Parameters:
length-
-
toByteArray
public byte[] toByteArray()- Returns:
-