Java ByteBuffer to Double toDouble(ByteBuffer bytes)

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

Description

to Double

License

Apache License

Declaration

public static double toDouble(ByteBuffer bytes) 

Method Source Code

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

import java.nio.ByteBuffer;

public class Main {
    public static double toDouble(ByteBuffer bytes) {
        return bytes.getDouble(bytes.position());
    }/*from   w  w  w.  j av  a 2s  .com*/
}

Related

  1. readDouble(ByteBuffer buffer)
  2. readDouble(ByteBuffer buffer)
  3. toDouble(ByteBuffer buffer)
  4. toDouble(ByteBuffer value)