package app.crossword.yourealwaysbe.puz.io.versions;

import app.crossword.yourealwaysbe.puz.Puzzle;
import app.crossword.yourealwaysbe.puz.PuzzleMeta;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.nio.charset.Charset;

public interface IOVersion {
    public void write(Puzzle puz, DataOutputStream os) throws IOException;
    public void read(Puzzle puz, DataInputStream is) throws IOException;
    public PuzzleMeta readMeta(DataInputStream is) throws IOException;
    public Charset getCharset();
}
