Interface SlimeFormat

  • All Known Implementing Classes:
    JsonFormat

    public interface SlimeFormat
    Author:
    Ulf Lilleengen
    • Method Detail

      • encode

        void encode​(OutputStream os,
                    Slime slime)
             throws IOException
        Encode a slime object into the provided output stream
        Parameters:
        os - The outputstream to write to.
        slime - The slime object to encode.
        Throws:
        IOException
      • decode

        void decode​(InputStream is,
                    Slime slime)
             throws IOException
        Encode a slime object into the provided output stream
        Parameters:
        is - The input stream to read from.
        slime - The slime object to decode into.
        Throws:
        IOException