idvi.io

Reading and writing dvi files requires some unusual io primitives. The classes in this package provide them.
  1. DVIInputStream

    Provides operations to read signed and unsigned integers of size 1, 2, 3, or 4 bytes, as well as arrays and Strings.

  2. DVIOutputStream

    Provides operations to write integers of size 1, 2, 3, or 4 bytes, to determine the minimal size for an integer and write it in that many bytes, and to copy a certain number of bytes from a DVIInputStream.

    Maintains a count of how many bytes have been written, which can be retrieved.