Java ByteBuffer to Long toLong(ByteBuffer bytes)

Here you can find the source of toLong(ByteBuffer bytes)

Description

to Long

License

Apache License

Declaration

public static long toLong(ByteBuffer bytes) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.nio.ByteBuffer;

public class Main {
    public static long toLong(ByteBuffer bytes) {
        return bytes.getLong(bytes.position());
    }//w  w  w  .  ja  v a2  s  .c o m
}

Related

  1. readUInt8(ByteBuffer bb)
  2. readVarLong(ByteBuffer buff)
  3. readVarlong(ByteBuffer buffer)
  4. toLong(ByteBuffer buffer)
  5. toLong(ByteBuffer buffer)
  6. toLong(ByteBuffer value)