Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## PER.rover.control
Class ByteUtil

    java.lang.Object
      PER.rover.control.ByteUtil

public class ByteUtil
extends java.lang.Object

Byte conversions for network

Constructor Summary
`ByteUtil()`

Method Summary
`static void` | `intToNetworkLong(byte[] buf, int num, int place)`
`static void` | `intToNetworkShort(byte[] buf, int num, int place)`
`static int` | `networkLongToInt(byte[] buf, int offset)`
`static int` | `networkShortToInt(byte[] buf, int offset)`
`static int` | `networkShortToUnsignedInt(byte[] buf, int offset)`
`static int` | `unsign(byte b)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ByteUtil

    public ByteUtil()

Method Detail

### unsign

    public static int unsign(byte b)

### networkLongToInt

    public static int networkLongToInt(byte[] buf,
                                       int offset)

### networkShortToUnsignedInt

    public static int networkShortToUnsignedInt(byte[] buf,
                                                int offset)

### networkShortToInt

    public static int networkShortToInt(byte[] buf,
                                        int offset)

### intToNetworkLong

    public static void intToNetworkLong(byte[] buf,
                                        int num,
                                        int place)

### intToNetworkShort

    public static void intToNetworkShort(byte[] buf,
                                         int num,
                                         int place)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD