com.facebook.imageformat.ImageFormat.FormatChecker |
Known Indirect Subclasses |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract ImageFormat |
determineFormat(byte[] headerBytes, int headerSize)
Returns an
ImageFormat if the checker is able to determine the format or null
otherwise. | ||||||||||
abstract int |
getHeaderSize()
Get the number of header bytes the format checker requires
|
Returns an ImageFormat
if the checker is able to determine the format or null
otherwise.
headerBytes | the header bytes to check |
---|---|
headerSize | the size of the header in bytes |
Get the number of header bytes the format checker requires