Interface ObjectReference

All Known Implementing Classes:
CompressedObjectReference, UncompressedObjectReference

interface ObjectReference
A reference to an indirect object.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Outputs this reference to the given stream, in the cross-reference stream format.
  • Method Details

    • output

      void output(DataOutputStream out) throws IOException
      Outputs this reference to the given stream, in the cross-reference stream format. For example, a object may output the bytes 01 00 00 00 00 00 00 01 ff 00 to indicate a non-compressed object (01), at offset 511 from the beginning of the file (00 00 00 00 00 00 01 ff), of generation number 0 (00).
      Parameters:
      out - the stream to which to output the reference
      Throws:
      IOException