Pipe.peek

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.

Parameters

output ubyte

the ubyte to write the peeked message ubyte to

offset size_t

the offset from the current position in message

msg message_id

the number identifying the message to peek from

Return Value

Type: size_t

number of bytes actually peeked and written into output

Meta