pl.mn.communicator.packet
Class GGUtils
java.lang.Object
pl.mn.communicator.packet.GGUtils
public class GGUtils
- extends java.lang.Object
- Version:
- $Id: GGUtils.java,v 1.1 2005/11/05 23:34:52 winnetou25 Exp $
- Author:
- Mateusz Szczap
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GGUtils
public GGUtils()
prettyBytesToString
public static java.lang.String prettyBytesToString(byte[] bytes)
byteToInt
public static int byteToInt(byte[] buf)
byteToInt
public static int byteToInt(byte[] buf,
int start)
byteToShort
public static int byteToShort(byte[] buf,
int start)
secondsToMillis
public static long secondsToMillis(int seconds)
millisToSeconds
public static int millisToSeconds(long millis)
unsignedByteToInt
public static int unsignedByteToInt(byte i)
intToByte
public static byte[] intToByte(int buf)
unsignedIntToLong
public static long unsignedIntToLong(int i)
byteToString
public static java.lang.String byteToString(byte[] data,
int startIndex)
convertIntToByteArray
public static byte[] convertIntToByteArray(int i)
getLoginHash
public static int getLoginHash(char[] password,
int seed)
Copyright 2004-2004-2005 SourceForge.net. All Rights Reserved.