Package com.drew.lang

Class ByteUtil

java.lang.Object
com.drew.lang.ByteUtil

public class ByteUtil extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    getInt16(byte[] buffer, int offset, boolean bigEndian)
     
    static int
    getInt32(byte[] buffer, int offset, boolean bigEndian)
     
    static long
    getLong64(byte[] buffer, int offset, boolean bigEndian)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ByteUtil

      public ByteUtil()
  • Method Details

    • getInt16

      public static int getInt16(byte[] buffer, int offset, boolean bigEndian)
    • getInt32

      public static int getInt32(byte[] buffer, int offset, boolean bigEndian)
    • getLong64

      public static long getLong64(byte[] buffer, int offset, boolean bigEndian)