1 24 25 package com.mckoi.database.global; 26 27 import java.io.IOException ; 28 29 36 37 public interface Ref { 38 39 45 long getID(); 46 47 51 byte getType(); 52 53 58 long getRawSize(); 59 60 66 void read(long offset, byte[] buf, int length) throws IOException ; 67 68 74 void write(long offset, byte[] buf, int length) throws IOException ; 75 76 81 void complete() throws IOException ; 82 83 } 84 85 | Popular Tags |