Package jnr.ffi.provider

Examples of jnr.ffi.provider.AbstractBufferMemoryIO


final class DirectBufferMemoryParameterStrategy extends AbstractDirectPointerParameterStrategy {
    static final PointerParameterStrategy INSTANCE = new DirectBufferMemoryParameterStrategy();

    @Override
    public long address(Object o) {
        AbstractBufferMemoryIO bufferMemoryIO = (AbstractBufferMemoryIO) o;
        return AsmRuntime.longValue(bufferMemoryIO.getByteBuffer());
    }
View Full Code Here

TOP

Related Classes of jnr.ffi.provider.AbstractBufferMemoryIO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.