Save This Page
Home » j2ssh-0.2.9-src » com.sshtools.j2ssh.io » [javadoc | source]
com.sshtools.j2ssh.io
public class: ByteArrayWriter [javadoc | source]
java.lang.Object
   java.io.OutputStream
      java.io.ByteArrayOutputStream
         com.sshtools.j2ssh.io.ByteArrayWriter

All Implemented Interfaces:
    Closeable, Flushable

Constructor:
 public ByteArrayWriter() 
Method from com.sshtools.j2ssh.io.ByteArrayWriter Summary:
encodeInt,   writeBigInteger,   writeBinaryString,   writeBoolean,   writeInt,   writeInt,   writeIntToArray,   writeString,   writeUINT32,   writeUINT64
Methods from java.io.ByteArrayOutputStream:
close,   reset,   size,   toByteArray,   toString,   toString,   toString,   write,   write,   writeTo
Methods from java.io.OutputStream:
close,   flush,   write,   write,   write
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sshtools.j2ssh.io.ByteArrayWriter Detail:
 public static byte[] encodeInt(int i) 
 public  void writeBigInteger(BigInteger bi) throws IOException 
 public  void writeBinaryString(byte[] data) throws IOException 
 public  void writeBoolean(boolean b) throws IOException 
 public  void writeInt(long i) throws IOException 
 public  void writeInt(int i) throws IOException 
 public static  void writeIntToArray(byte[] array,
    int pos,
    int value) throws IOException 
 public  void writeString(String str) throws IOException 
 public  void writeUINT32(UnsignedInteger32 value) throws IOException 
 public  void writeUINT64(UnsignedInteger64 value) throws IOException