getBuffer

Retrieves the buffer of the watermark image.

public ByteBuffer getBuffer()
Since:
Available since v4.6.0.

This method is used to retrieve the buffer of the watermark image or the watermark image data buffer.

Restrictions

None.

Returns

Returns a ByteBuffer object containing the watermark image data if the method call succeeds.