| 1 | /* |
| 2 | * Copyright (c) 2023. |
| 3 | * |
| 4 | * This software is free software; |
| 5 | * |
| 6 | * You can redistribute it or modify it under terms of the MIT, Apache License or Zlib license |
| 7 | */ |
| 8 | |
| 9 | //! A simple implementation of a bytestream reader |
| 10 | //! and writer. |
| 11 | //! |
| 12 | //! This module contains two main structs that help in |
| 13 | //! byte reading and byte writing |
| 14 | //! |
| 15 | //! Useful for a lot of image readers and writers, it's put |
| 16 | //! here to minimize code reuse |
| 17 | pub use reader::ZByteReader; |
| 18 | pub use traits::*; |
| 19 | pub use writer::ZByteWriter; |
| 20 | |
| 21 | mod reader; |
| 22 | mod traits; |
| 23 | mod writer; |
| 24 | |