1 46 50 package org.mr.core.util.byteable; 51 52 import java.io.IOException ; 53 54 62 public interface Byteable { 63 64 68 public String getByteableName(); 69 70 75 public void toBytes(ByteableOutputStream out) throws IOException ; 76 77 82 public Byteable createInstance(ByteableInputStream in) throws IOException ; 83 84 89 public void registerToByteableRegistry(); 90 91 } 92 | Popular Tags |