write


Description:

public bool write (uint8[] buf) throws Error

Parses the next `count` bytes in the given image buffer.

Parameters:

this

A pixbuf loader.

buf

Pointer to image data.

count

Length of the buf buffer in bytes.

Returns:

`TRUE` if the write was successful, or `FALSE` if the loader cannot parse the buffer