java.lang.Object
dev.argon.esexpr.ESExprBinaryReader
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a reader for the ESExpr binary format.ESExprBinaryReader(List<String> symbolTable, InputStream is) Create a reader for the ESExpr binary format. -
Method Summary
-
Constructor Details
-
ESExprBinaryReader
Create a reader for the ESExpr binary format.- Parameters:
symbolTable- The symbol table used when parsing.is- The stream.
-
ESExprBinaryReader
Create a reader for the ESExpr binary format.- Parameters:
is- The stream.
-
-
Method Details
-
tryRead
Attempts to read an ESExpr from the stream.- Returns:
- The ESExpr, or null if at the end of the stream.
- Throws:
IOException- when an error occurs in the underlying stream.SyntaxException- when an expression cannot be read.
-
read
Read an ESExpr from the stream.- Returns:
- The ESExpr
- Throws:
EOFException- if at the end of the stream.IOException- when an error occurs in the underlying stream.SyntaxException- when an expression cannot be read.
-
readAll
-