[−][src]Crate binjs_io
Re-exports
pub use bytes::compress::Compression; |
pub use io::*; |
Modules
| binjs_json | A format for generating invalid file, to test decoder implementation. |
| bytes | Byte-level utilities for writing token readers/writers. Tools for manipulating byte-level data. |
| context | An encoding using per-context Huffman tables. Encoding/decoding based on Huffman tables. |
| entropy | An encoding using entropy coding. A format based on Entropy coding |
| escaped_wtf8 | |
| io | Definition of TokenReader/TokenWriter traits. Mid-level API used to write individual components of an AST tree to a stream of tokens. |
| multipart | An optimization of TokenReader/TokenWriter, designed to minimize the size of the file. A multipart format, in which each part can be compressed independently. |
| simple | A simple implementation of TokenReader/TokenWriter, designed specifically to help debug implementations of grammar encoders/decoders. Minimal implementation of encoding/decoding to binary. Used for testing purposes. Not meant to be included in release builds. |
| xml | A trivial exporter to xml. |
Macros
| for_field_in_per_static | A macro used to generate code that will operate on all fields of a |
| for_field_in_user_extensible | A macro used to generate code that will operate on all fields of a |
| print_file_structure | Prints the structural interpretation of the data read after the last time this macro is called. |
Structs
| CompressionTarget | Instructions for a single section (grammar, strings, tree, ...) |
Enums
| DictionaryPlacement | A strategy for placing the dictionary. |
| Format | All the formats available for encoding/decoding. |
| TokenReaderError | |
| TokenWriterError |
Traits
| FormatProvider | Command-line management for a format |