public static class MagicNumberRegistryEntry.MagicNumber
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) byte[] |
buffer |
(package private) byte[] |
magicNumber |
(package private) int |
offset |
Constructor and Description |
---|
MagicNumber(int offset,
byte[] magicNumber)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
(package private) int |
getReadlimit()
Returns the maximum number of bytes that will be read for
this magic number comparison.
|
(package private) boolean |
isMatch(java.io.InputStream is)
Performs the check of is.
|