public class RiffTypeChecker extends Object implements TypeChecker
| Constructor and Description |
|---|
RiffTypeChecker() |
| Modifier and Type | Method and Description |
|---|---|
FileType |
checkType(byte[] bytes)
Returns the file type identified within 'bytes', otherwise 'Unknown'.
|
int |
getByteCount()
Gets the number of bytes this type checker needs in order to identify its file type.
|
public int getByteCount()
TypeCheckergetByteCount in interface TypeCheckerpublic FileType checkType(byte[] bytes)
TypeCheckercheckType in interface TypeCheckerCopyright © 2002-2020 Drew Noakes. All Rights Reserved.