-
public interface ImageFormat.FormatChecker
-
-
Method Summary
Modifier and Type Method Description abstract intgetHeaderSize()Get the number of header bytes the format checker requires abstract ImageFormatdetermineFormat(@Nonnull() Array<byte> headerBytes, int headerSize)Returns an ImageFormat if the checker is able to determine the format or nullotherwise. -
-
Method Detail
-
getHeaderSize
abstract int getHeaderSize()
Get the number of header bytes the format checker requires
-
determineFormat
@Nullable() abstract ImageFormat determineFormat(@Nonnull() Array<byte> headerBytes, int headerSize)
Returns an ImageFormat if the checker is able to determine the format or nullotherwise.
- Parameters:
headerBytes- the header bytes to checkheaderSize- the size of the header in bytes
-
-
-
-