@InterfaceAudience.Private public class UVLongTool extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static byte | BYTE_7_RIGHT_BITS_SET | 
| static byte | BYTE_LEFT_BIT_SET | 
| static long | LONG_7_RIGHT_BITS_SET | 
| static long | LONG_8TH_BIT_SET | 
| static byte[] | MAX_VALUE_BYTES | 
| Constructor and Description | 
|---|
| UVLongTool() | 
| Modifier and Type | Method and Description | 
|---|---|
| static byte[] | getBytes(long value) | 
| static long | getLong(byte[] bytes)bytes -> long | 
| static long | getLong(byte[] bytes,
       int offset) | 
| static long | getLong(InputStream is) | 
| static int | numBytes(long in)long -> bytes | 
| static int | writeBytes(long value,
          OutputStream os) | 
public static final byte BYTE_7_RIGHT_BITS_SET
public static final byte BYTE_LEFT_BIT_SET
public static final long LONG_7_RIGHT_BITS_SET
public static final long LONG_8TH_BIT_SET
public static final byte[] MAX_VALUE_BYTES
public static int numBytes(long in)
public static byte[] getBytes(long value)
public static int writeBytes(long value,
             OutputStream os)
                      throws IOException
IOExceptionpublic static long getLong(byte[] bytes)
public static long getLong(byte[] bytes,
           int offset)
public static long getLong(InputStream is) throws IOException
IOExceptionCopyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.