de.cm.osm2po.sd.primitives
Class Bits
java.lang.Object
de.cm.osm2po.sd.primitives.Bits
public class Bits
- extends java.lang.Object
- Author:
- (c) 2012 - Carsten Moeller - info@osm2po
Method Summary |
static float |
getFloat(byte[] b,
int off)
|
static int |
getInt(byte[] b,
int off)
|
static long |
getLong(byte[] b,
int off)
|
static short |
getShort(byte[] b,
int off)
|
static void |
putFloat(byte[] b,
int off,
float val)
|
static void |
putInt(byte[] b,
int off,
int val)
|
static void |
putLong(byte[] b,
int off,
long val)
|
static void |
putShort(byte[] b,
int off,
short val)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getShort
public static short getShort(byte[] b,
int off)
- Parameters:
b
- byte[]off
- int Offset
- Returns:
- short
getInt
public static int getInt(byte[] b,
int off)
- Parameters:
b
- byte[]off
- int Offset
- Returns:
- int
getFloat
public static float getFloat(byte[] b,
int off)
- Parameters:
b
- byte[]off
- int Offset
- Returns:
- int
getLong
public static long getLong(byte[] b,
int off)
- Parameters:
b
- byte[]off
- int Offset
- Returns:
- int
putShort
public static void putShort(byte[] b,
int off,
short val)
- Parameters:
b
- byte[] ByteArrayoff
- Offsetval
- short
putInt
public static void putInt(byte[] b,
int off,
int val)
- Parameters:
b
- byte[] ByteArrayoff
- Offsetval
- int
putFloat
public static void putFloat(byte[] b,
int off,
float val)
- Parameters:
b
- byte[] ByteArrayoff
- Offsetval
- float
putLong
public static void putLong(byte[] b,
int off,
long val)
- Parameters:
b
- byte[] ByteArrayoff
- Offsetval
- float