Java ByteBuffer Get getAddress(ByteBuffer buffer)

Here you can find the source of getAddress(ByteBuffer buffer)

Description

get Address

License

Apache License

Declaration

public static long getAddress(ByteBuffer buffer) 

Method Source Code


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

import java.nio.ByteBuffer;

public class Main {
    public static long getAddress(ByteBuffer buffer) {
        return ((sun.nio.ch.DirectBuffer) buffer).address();
    }/*from  w w  w. j a  v a2s . com*/
}

Related

  1. get(ByteBuffer source)
  2. get3ByteInt(ByteBuffer buffer)
  3. getActiveArray(ByteBuffer buffer)
  4. getAddress(ByteBuffer buf)
  5. getAddress(ByteBuffer buffer)
  6. getAddressFromDirectByteBuffer(ByteBuffer buffer)
  7. getArray(ByteBuffer buffer)
  8. getAsByteBuffer()
  9. getAsBytes(List buffers)