class HexaPDF:: FiberWithLength
Parent | Fiber |
---|
This special Fiber class should be used when the total length of the data yielded by the fiber is known beforehand. HexaPDF
uses this information to avoid unnecessary memory usage.
Attributes
The total length of the data that will be yielded by this fiber. If the return value is negative the total length is not known.
Public Class Methods
Initializes the Fiber and sets the length
.
A length
of nil
is equal to -1.
Calls superclass method