lojix/wam_prolog/src/main/com/thesett/aima/logic/fol/wam/machine/WAMResolvingMachine.java
public ByteBuffer getCodeBuffer(int start, int length)
    {
        // Take a read only slice onto an appropriate section of the code buffer.
        ByteBuffer readOnlyBuffer = codeBuffer.asReadOnlyBuffer();
        readOnlyBuffer.position(start);
        readOnlyBuffer.limit(start + length);

        return readOnlyBuffer;
    }
public ByteBuffer getCodeBuffer(int start, int length)
    {
        // Take a read only slice onto an appropriate section of the code buffer.
        ByteBuffer readOnlyBuffer = codeBuffer.asReadOnlyBuffer();
        readOnlyBuffer.position(start);
        readOnlyBuffer.limit(start + length);

        return readOnlyBuffer;
    }
{@inheritDoc}