- java.lang.Object
-
- ch.bind.philib.io.EndianCodec
-
public final class EndianCodec extends Object
- Author:
- Philipp Meinen
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intdecodeInt16BE(byte[] input)static intdecodeInt16BE(byte[] input, int offset)static intdecodeInt16LE(byte[] input)static intdecodeInt16LE(byte[] input, int offset)static intdecodeInt32BE(byte[] input)static intdecodeInt32BE(byte[] input, int offset)static intdecodeInt32LE(byte[] input)static intdecodeInt32LE(byte[] input, int offset)static longdecodeInt64BE(byte[] input)static longdecodeInt64BE(byte[] input, int offset)static longdecodeInt64LE(byte[] input)static longdecodeInt64LE(byte[] input, int offset)static intdecodeInt8(byte[] input)static intdecodeInt8(byte[] input, int offset)static voidencodeInt16BE(int value, byte[] output)static voidencodeInt16BE(int value, byte[] output, int offset)static voidencodeInt16LE(int value, byte[] output)static voidencodeInt16LE(int value, byte[] output, int offset)static voidencodeInt32BE(int value, byte[] output)static voidencodeInt32BE(int value, byte[] output, int offset)static voidencodeInt32LE(int value, byte[] output)static voidencodeInt32LE(int value, byte[] output, int offset)static voidencodeInt64BE(long value, byte[] output)static voidencodeInt64BE(long value, byte[] output, int offset)static voidencodeInt64LE(long value, byte[] output)static voidencodeInt64LE(long value, byte[] output, int offset)static voidencodeInt8(int value, byte[] output)static voidencodeInt8(int value, byte[] output, int offset)
-
-
-
Method Detail
-
encodeInt64BE
public static void encodeInt64BE(long value, byte[] output)
-
encodeInt64LE
public static void encodeInt64LE(long value, byte[] output)
-
encodeInt64BE
public static void encodeInt64BE(long value, byte[] output, int offset)
-
encodeInt64LE
public static void encodeInt64LE(long value, byte[] output, int offset)
-
decodeInt64BE
public static long decodeInt64BE(byte[] input)
-
decodeInt64LE
public static long decodeInt64LE(byte[] input)
-
decodeInt64BE
public static long decodeInt64BE(byte[] input, int offset)
-
decodeInt64LE
public static long decodeInt64LE(byte[] input, int offset)
-
encodeInt32BE
public static void encodeInt32BE(int value, byte[] output)
-
encodeInt32LE
public static void encodeInt32LE(int value, byte[] output)
-
encodeInt32BE
public static void encodeInt32BE(int value, byte[] output, int offset)
-
encodeInt32LE
public static void encodeInt32LE(int value, byte[] output, int offset)
-
decodeInt32BE
public static int decodeInt32BE(byte[] input)
-
decodeInt32LE
public static int decodeInt32LE(byte[] input)
-
decodeInt32BE
public static int decodeInt32BE(byte[] input, int offset)
-
decodeInt32LE
public static int decodeInt32LE(byte[] input, int offset)
-
encodeInt16BE
public static void encodeInt16BE(int value, byte[] output)
-
encodeInt16LE
public static void encodeInt16LE(int value, byte[] output)
-
encodeInt16BE
public static void encodeInt16BE(int value, byte[] output, int offset)
-
encodeInt16LE
public static void encodeInt16LE(int value, byte[] output, int offset)
-
decodeInt16BE
public static int decodeInt16BE(byte[] input)
-
decodeInt16LE
public static int decodeInt16LE(byte[] input)
-
decodeInt16BE
public static int decodeInt16BE(byte[] input, int offset)
-
decodeInt16LE
public static int decodeInt16LE(byte[] input, int offset)
-
encodeInt8
public static void encodeInt8(int value, byte[] output)
-
encodeInt8
public static void encodeInt8(int value, byte[] output, int offset)
-
decodeInt8
public static int decodeInt8(byte[] input)
-
decodeInt8
public static int decodeInt8(byte[] input, int offset)
-
-