EventBufferEvent::read

Read buffer's data

Description

public string EventBufferEvent::read( int $size )

Removes up to size bytes from the input buffer. Returns a string of data read from the input buffer.

Parameters

size

Maximum number of bytes to read

Return Values

Returns string of data read from the input buffer.

See Also

  • EventBufferEvent::readBuffer