#include <SkImageDecoder.h>
Inherits SkRefCnt.
Public Member Functions | |
virtual bool | peek (const char tag[], const void *data, size_t length)=0 |
Base class for optional callbacks to retrieve meta/chunk data out of an image as it is being decoded.
Definition at line 64 of file SkImageDecoder.h.
virtual bool SkImageDecoder::Peeker::peek | ( | const char | tag[], | |
const void * | data, | |||
size_t | length | |||
) | [pure virtual] |
Return true to continue decoding, or false to indicate an error, which will cause the decoder to not return the image.