Example usage for java.io Bits getLong

List of usage examples for java.io Bits getLong

Introduction

In this page you can find the example usage for java.io Bits getLong.

Prototype

static long getLong(byte[] b, int off) 

Source Link

Usage

From source file:voldemort.store.cachestore.BlockUtil.java

public static long bytesToLong(byte[] data) {
    return Bits.getLong(data, 0);
}