Class EndianCodec


  • public final class EndianCodec
    extends Object
    Author:
    Philipp Meinen
    • 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)