Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

plugins.IcqEngine.protocol
Class ByteEncoder  view ByteEncoder download ByteEncoder.java

java.lang.Object
  extended byplugins.IcqEngine.protocol.ByteEncoder

public class ByteEncoder
extends java.lang.Object


Constructor Summary
ByteEncoder()
          Creates a new instance of IntEncoder
 
Method Summary
static byte[] encode(int i, int len)
           
static byte[] encode(java.lang.String str)
           
static byte[] encodeHex(java.lang.String hex)
           
(package private) static byte[] encodeIp(java.lang.String ip)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteEncoder

public ByteEncoder()
Creates a new instance of IntEncoder

Method Detail

encode

public static byte[] encode(int i,
                            int len)

encode

public static byte[] encode(java.lang.String str)

encodeHex

public static byte[] encodeHex(java.lang.String hex)

encodeIp

static byte[] encodeIp(java.lang.String ip)

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception