implement to set the read/write pointer in the file
XTeaEncryptionFileAdapter Class | com.db4o.io.crypt Namespace