jcifs.util
Class Encdec
java.lang.Object
jcifs.util.Encdec
public class Encdec
- extends Object
|
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MILLISECONDS_BETWEEN_1970_AND_1601
public static final long MILLISECONDS_BETWEEN_1970_AND_1601
- See Also:
- Constant Field Values
SEC_BETWEEEN_1904_AND_1970
public static final long SEC_BETWEEEN_1904_AND_1970
- See Also:
- Constant Field Values
TIME_1970_SEC_32BE
public static final int TIME_1970_SEC_32BE
- See Also:
- Constant Field Values
TIME_1970_SEC_32LE
public static final int TIME_1970_SEC_32LE
- See Also:
- Constant Field Values
TIME_1904_SEC_32BE
public static final int TIME_1904_SEC_32BE
- See Also:
- Constant Field Values
TIME_1904_SEC_32LE
public static final int TIME_1904_SEC_32LE
- See Also:
- Constant Field Values
TIME_1601_NANOS_64LE
public static final int TIME_1601_NANOS_64LE
- See Also:
- Constant Field Values
TIME_1601_NANOS_64BE
public static final int TIME_1601_NANOS_64BE
- See Also:
- Constant Field Values
TIME_1970_MILLIS_64BE
public static final int TIME_1970_MILLIS_64BE
- See Also:
- Constant Field Values
TIME_1970_MILLIS_64LE
public static final int TIME_1970_MILLIS_64LE
- See Also:
- Constant Field Values
Encdec
public Encdec()
enc_uint16be
public static int enc_uint16be(short s,
byte[] dst,
int di)
enc_uint32be
public static int enc_uint32be(int i,
byte[] dst,
int di)
enc_uint16le
public static int enc_uint16le(short s,
byte[] dst,
int di)
enc_uint32le
public static int enc_uint32le(int i,
byte[] dst,
int di)
dec_uint16be
public static short dec_uint16be(byte[] src,
int si)
dec_uint32be
public static int dec_uint32be(byte[] src,
int si)
dec_uint16le
public static short dec_uint16le(byte[] src,
int si)
dec_uint32le
public static int dec_uint32le(byte[] src,
int si)
enc_uint64be
public static int enc_uint64be(long l,
byte[] dst,
int di)
enc_uint64le
public static int enc_uint64le(long l,
byte[] dst,
int di)
dec_uint64be
public static long dec_uint64be(byte[] src,
int si)
dec_uint64le
public static long dec_uint64le(byte[] src,
int si)
enc_floatle
public static int enc_floatle(float f,
byte[] dst,
int di)
enc_floatbe
public static int enc_floatbe(float f,
byte[] dst,
int di)
dec_floatle
public static float dec_floatle(byte[] src,
int si)
dec_floatbe
public static float dec_floatbe(byte[] src,
int si)
enc_doublele
public static int enc_doublele(double d,
byte[] dst,
int di)
enc_doublebe
public static int enc_doublebe(double d,
byte[] dst,
int di)
dec_doublele
public static double dec_doublele(byte[] src,
int si)
dec_doublebe
public static double dec_doublebe(byte[] src,
int si)
enc_time
public static int enc_time(Date date,
byte[] dst,
int di,
int enc)
dec_time
public static Date dec_time(byte[] src,
int si,
int enc)
enc_utf8
public static int enc_utf8(String str,
byte[] dst,
int di,
int dlim)
throws IOException
- Throws:
IOException
dec_utf8
public static String dec_utf8(byte[] src,
int si,
int slim)
throws IOException
- Throws:
IOException
dec_ucs2le
public static String dec_ucs2le(byte[] src,
int si,
int slim,
char[] buf)
throws IOException
- Throws:
IOException
Copyright © 2012. All Rights Reserved.