public class ShortUtil extends Object
| Constructor and Description |
|---|
ShortUtil() |
| Modifier and Type | Method and Description |
|---|---|
static short |
bytesToShort(byte[] bs) |
static short |
bytesToShort(byte[] bs,
ByteOrder byteOrder) |
static short |
bytesToShort(byte[] source,
int offset,
ByteOrder order) |
static byte[] |
shortToBytes(short value,
ByteOrder byteOrder) |
public static byte[] shortToBytes(short value,
ByteOrder byteOrder)
public static short bytesToShort(byte[] bs)
public static short bytesToShort(byte[] bs,
ByteOrder byteOrder)
public static short bytesToShort(byte[] source,
int offset,
ByteOrder order)
Copyright © 2019. All rights reserved.