public static long address ( final ByteBuffer buffer ) { if ( ! buffer . isDirect ( ) ) { throw new IllegalArgumentException ( "buffer.isDirect() must be true" ) ; } return UNSAFE . getLong ( buffer , BYTE_BUFFER_ADDRESS_FIELD_OFFSET ) ; }
Get the address at which the underlying buffer storage begins .