Class ByteUtils

java.lang.Object
bdsup2sub.utils.ByteUtils

public final class ByteUtils extends Object
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    getByte(byte[] buffer, int index)
     
    static int
    getWord(byte[] buffer, int index)
     
    static void
    setByte(byte[] buffer, int index, int val)
     
    static void
    setDWord(byte[] buffer, int index, int val)
     
    static void
    setWord(byte[] buffer, int index, int val)
     

    Methods inherited from class java.lang.Object

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

    • ByteUtils

      private ByteUtils()
  • Method Details

    • getByte

      public static int getByte(byte[] buffer, int index)
    • setByte

      public static void setByte(byte[] buffer, int index, int val)
    • getWord

      public static int getWord(byte[] buffer, int index)
    • setWord

      public static void setWord(byte[] buffer, int index, int val)
    • setDWord

      public static void setDWord(byte[] buffer, int index, int val)