Rogue: Savage Rats, a retro-themed dungeon crawler
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
rogue-savage-rats/src/mightypork/util/files/ion/IonBinaryHeadless.java

31 lines
575 B

package mightypork.util.files.ion;
import java.io.IOException;
/**
* Binary ion object, with no mark = cannot be loaded on it's own
*
* @author MightyPork
*/
public interface IonBinaryHeadless {
/**
* Load data from the input stream.
*
* @param in input stream
* @throws IOException
*/
void load(IonInput in) throws IOException;
/**
* Store data to output stream (in such way that the load method will later
* be able to read it).
*
* @param out Output stream
* @throws IOException
*/
void save(IonOutput out) throws IOException;
}