sig
  exception Couldn'tDecodeStream of string
  exception DecodeNotSupported of string
  val decode_pdfstream : Pdf.pdfdoc -> Pdf.pdfobject -> unit
  val decode_pdfstream_onestage : Pdf.pdfdoc -> Pdf.pdfobject -> unit
  val decode_pdfstream_until_unknown : Pdf.pdfdoc -> Pdf.pdfobject -> unit
  type encoding = ASCIIHex | ASCII85 | RunLength | Flate
  val encode_pdfstream :
    Pdf.pdfdoc -> Pdfcodec.encoding -> Pdf.pdfobject -> unit
  val decode_from_input :
    Pdfio.input -> Pdf.pdfobject -> Utility.bytestream option
end