Package starlight.taliis.core

Examples of starlight.taliis.core.memory.position()


    buff.position(0);
    buff.limit(data);
    tmp.put( buff );
   
    // copy data field
    tmp.position(data);
    dataBlock.buff.position(0);
    tmp.put( dataBlock.buff );
   
    // copy strings
    strTable.buff.position(0);
View Full Code Here


   
    // data before the deletion
    dataBlock.position(0);
    memory bfore = new memory(dataBlock.buff);
    bfore.buff.limit( startLine*rz );
    bfore.position(0);
   
    // data behind our deletion
    dataBlock.position( (startLine+lenght)*rz );
    memory after = new memory(dataBlock.buff);
    after.position(0);
View Full Code Here

    bfore.position(0);
   
    // data behind our deletion
    dataBlock.position( (startLine+lenght)*rz );
    memory after = new memory(dataBlock.buff);
    after.position(0);
   
    // new datablock
    dataBlock = new memory( dataBlock.limit() - (lenght*rz) );
   
    // copy data after deletion
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.