1 21 package com.db4o; 22 23 import com.db4o.foundation.*; 24 25 28 public interface SlotReader { 29 30 int offset(); 31 32 void offset(int offset); 33 void incrementOffset(int numBytes); 34 void incrementIntSize(); 35 36 void readBegin(byte identifier); 37 void readEnd(); 38 39 byte readByte(); 40 void append(byte value); 41 42 int readInt(); 43 void writeInt(int value); 44 45 long readLong(); 46 void writeLong(long value); 47 48 public BitMap4 readBitMap(int bitCount); 49 50 void copyBytes(byte[] target,int sourceOffset,int targetOffset,int length); 51 } | Popular Tags |