Module mslinks
Package io

Class Bytes


public final class Bytes
extends Object
  • Method Summary

    Modifier and Type Method Description
    static int makeIntB​(byte b0, byte b1, byte b2, byte b3)  
    static int makeIntL​(byte b0, byte b1, byte b2, byte b3)  
    static long makeLongB​(byte b0, byte b1, byte b2, byte b3, byte b4, byte b5, byte b6, byte b7)  
    static long makeLongL​(byte b0, byte b1, byte b2, byte b3, byte b4, byte b5, byte b6, byte b7)  
    static short makeShortB​(byte b0, byte b1)  
    static short makeShortL​(byte b0, byte b1)  
    static int reverse​(int n)  
    static long reverse​(long n)  
    static short reverse​(short n)  

    Methods inherited from class java.lang.Object

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

    • reverse

      public static short reverse​(short n)
    • reverse

      public static int reverse​(int n)
    • reverse

      public static long reverse​(long n)
    • makeShortB

      public static short makeShortB​(byte b0, byte b1)
    • makeIntB

      public static int makeIntB​(byte b0, byte b1, byte b2, byte b3)
    • makeLongB

      public static long makeLongB​(byte b0, byte b1, byte b2, byte b3, byte b4, byte b5, byte b6, byte b7)
    • makeShortL

      public static short makeShortL​(byte b0, byte b1)
    • makeIntL

      public static int makeIntL​(byte b0, byte b1, byte b2, byte b3)
    • makeLongL

      public static long makeLongL​(byte b0, byte b1, byte b2, byte b3, byte b4, byte b5, byte b6, byte b7)