类 DataTypeUtil


  • public class DataTypeUtil
    extends Object
    Utilities to manipulate internal data type formats.
    • 构造器详细资料

      • DataTypeUtil

        public DataTypeUtil()
    • 方法详细资料

      • bitToLong

        public static long bitToLong​(byte[] bytes,
                                     int offset,
                                     int length)
        Interpret a BIT value as a long.
        参数:
        bytes - byte buffer
        offset - offset in buffer
        length - number of bytes to use
        返回:
        long value