[previous] [up] [next]     [contents] [index]
Next: skip Up: wx:media-stream-in Previous: remove-boundary

set-boundary

Sets a file-reading boundary at a position in the stream. If there is an attempt to read past this boundary, an error is signalled. The boundary is removed with a call to remove-boundary. Every call to set-boundary must be balanced by a call to remove-boundary.

Boundaries help keep a subroutine from reading too much data leading to confusing errors. However, a malicious subroutine can call remove-boundary on its own.



PLT