jcifs.util
public class Encdec extends Object
Field Summary | |
---|---|
static long | MILLISECONDS_BETWEEN_1970_AND_1601 |
static long | SEC_BETWEEEN_1904_AND_1970 |
static int | TIME_1601_NANOS_64BE |
static int | TIME_1601_NANOS_64LE |
static int | TIME_1904_SEC_32BE |
static int | TIME_1904_SEC_32LE |
static int | TIME_1970_MILLIS_64BE |
static int | TIME_1970_MILLIS_64LE |
static int | TIME_1970_SEC_32BE |
static int | TIME_1970_SEC_32LE |
Method Summary | |
---|---|
static double | dec_doublebe(byte[] src, int si) |
static double | dec_doublele(byte[] src, int si) |
static float | dec_floatbe(byte[] src, int si) |
static float | dec_floatle(byte[] src, int si) |
static Date | dec_time(byte[] src, int si, int enc) |
static String | dec_ucs2le(byte[] src, int si, int slim, char[] buf) |
static short | dec_uint16be(byte[] src, int si) |
static short | dec_uint16le(byte[] src, int si) |
static int | dec_uint32be(byte[] src, int si) |
static int | dec_uint32le(byte[] src, int si) |
static long | dec_uint64be(byte[] src, int si) |
static long | dec_uint64le(byte[] src, int si) |
static String | dec_utf8(byte[] src, int si, int slim) |
static int | enc_doublebe(double d, byte[] dst, int di) |
static int | enc_doublele(double d, byte[] dst, int di) |
static int | enc_floatbe(float f, byte[] dst, int di) |
static int | enc_floatle(float f, byte[] dst, int di) |
static int | enc_time(Date date, byte[] dst, int di, int enc) |
static int | enc_uint16be(short s, byte[] dst, int di) |
static int | enc_uint16le(short s, byte[] dst, int di) |
static int | enc_uint32be(int i, byte[] dst, int di) |
static int | enc_uint32le(int i, byte[] dst, int di) |
static int | enc_uint64be(long l, byte[] dst, int di) |
static int | enc_uint64le(long l, byte[] dst, int di) |
static int | enc_utf8(String str, byte[] dst, int di, int dlim) |