Construct a Pipe of up to four filters. The filters are set up in the same order as the arguments.
Construct a Pipe from a list of filters
An opaque type that identifies a message in this Pipe
Exception if you use an invalid message as an argument to read, remaining, etc
Insert a new filter at the back of the pipe
Discard the next N bytes of the data
End the current message.
Test whether this pipe has any data that can be read from.
Get the number of messages the are in this pipe.
Read from the default message but do not modify the internal offset. Consecutive calls to peek() will return portions of the message starting at the same position.
Read from the specified message but do not modify the internal offset. Consecutive calls to peek() will return portions of the message starting at the same position.
Read a single ubyte from the specified message but do not modify the internal offset. Consecutive calls to peek() will return portions of the message starting at the same position.
Peek at one ubyte.
Remove the first filter at the front of the pipe.
Insert a new filter at the front of the pipe
Perform startMsg(), write() and endMsg() sequentially.
Perform startMsg(), write() and endMsg() sequentially.
Perform startMsg(), write() and endMsg() sequentially.
Perform startMsg(), write() and endMsg() sequentially.
Perform startMsg(), write() and endMsg() sequentially.
Read the default message from the pipe. Moves the internal offset so that every call to read will return a new portion of the message.
Read a specified message from the pipe. Moves the internal offset so that every call to read will return a new portion of the message.
Read a specified message from the pipe. Moves the internal offset so that every call to read will return a new portion of the message.
Read a single ubyte from the pipe. Moves the internal offset so that every call to read will return a new portion of the message.
Read the full contents of the pipe.
Read one ubyte.
Find out how many bytes are ready to read.
Reset this pipe to an empty pipe.
Set the default message
Start a new message in the pipe. A potential other message in this pipe must be closed with endMsg() before this function may be called.
Read the full contents of the pipe.
Write input to the pipe, i.e. to its first filter.
Write input to the pipe, i.e. to its first filter.
Write input to the pipe, i.e. to its first filter.
Write input to the pipe, i.e. to its first filter.
Write input to the pipe, i.e. to its first filter.
Write input to the pipe, i.e. to its first filter.
Write input to the pipe, i.e. to its first filter.
A meta-id for the default message (set with set_defaultMsg)
A meta-id for whatever the last message is
This class represents pipe objects. A set of filters can be placed into a pipe, and information flows through the pipe until it reaches the end, where the output is collected for retrieval. If you're familiar with the Unix shell environment, this design will sound quite familiar.