Pipe.read

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.

Parameters

output ubyte[]

the ubyte array to write the read bytes to

msg message_id

the number identifying the message to read from

Return Value

Type: size_t

number of bytes actually read into output

Meta