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.
26 lines
499 B
26 lines
499 B
package mightypork.utils.ion;
|
|
|
|
|
|
/**
|
|
* Bundled ion object. If a class implements both binary and bundled, then
|
|
* binary will be preferred by both IonInput and IonOutput.
|
|
*
|
|
* @author Ondřej Hruška (MightyPork)
|
|
*/
|
|
public interface IonBundled {
|
|
|
|
/**
|
|
* Load this object from the data bundle
|
|
*
|
|
* @param in bundle to load from
|
|
*/
|
|
void load(IonDataBundle in);
|
|
|
|
|
|
/**
|
|
* Save this object to the data bundle
|
|
*
|
|
* @param out bundle to save into
|
|
*/
|
|
void save(IonDataBundle out);
|
|
}
|
|
|