com.sshtools.j2ssh.io
Class ByteArrayWriter
ByteArrayOutputStream
com.sshtools.j2ssh.io.ByteArrayWriter
public class ByteArrayWriter
extends ByteArrayOutputStream
ByteArrayWriter
public ByteArrayWriter()
Creates a new ByteArrayWriter object.
encodeInt
public static byte[] encodeInt(int i)
writeBigInteger
public void writeBigInteger(BigInteger bi)
throws IOException
writeBinaryString
public void writeBinaryString(byte[] data)
throws IOException
writeBoolean
public void writeBoolean(boolean b)
throws IOException
writeInt
public void writeInt(int i)
throws IOException
writeInt
public void writeInt(long i)
throws IOException
writeIntToArray
public static void writeIntToArray(byte[] array,
int pos,
int value)
throws IOException
writeString
public void writeString(String str)
throws IOException
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.