Examples of MemoryIoAdapter


Examples of com.db4o.io.MemoryIoAdapter

    }
    a.close();
  }

  private EncryptingIoAdapter createAdapter() {
    MemoryIoAdapter a = new MemoryIoAdapter();
    byte[] key = new byte[32];
    mt.nextBytes(key);
    EncryptingIoAdapter e = new EncryptingIoAdapter(a, key, new DummyRandomSource(mt.nextLong()));
    return (EncryptingIoAdapter) e.open("test", false, 1024, false);
  }
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.