fulmine.protocol.specification
Class ByteConstants

java.lang.Object
  extended by fulmine.protocol.specification.ByteConstants

public final class ByteConstants
extends Object

Holds a range of constants and byte masks.

Author:
Ramon Servadei

Field Summary
static long[] bitShiftForByteOrdinal
          Bit shifts to access the byte ordinal that the index represents.
static String ENCODING
          The string encoding, UTF8
 
Constructor Summary
ByteConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENCODING

public static final String ENCODING
The string encoding, UTF8

See Also:
Constant Field Values

bitShiftForByteOrdinal

public static final long[] bitShiftForByteOrdinal
Bit shifts to access the byte ordinal that the index represents. E.g. bitShiftForByteOrdinal[2] has a value of 8 which is the number of bits to right shift an integral to access the 2nd byte.

Constructor Detail

ByteConstants

public ByteConstants()


Copyright © 2007-2009. All Rights Reserved.