public static final class BytesValidator.Length extends Object implements BytesValidator
BytesValidator.IdenticalContent, BytesValidator.Length, BytesValidator.Logical, BytesValidator.PrePostFix
Constructor and Description |
---|
Length(int refLength,
at.favre.lib.bytes.BytesValidator.Length.Mode mode) |
Modifier and Type | Method and Description |
---|---|
boolean |
validate(byte[] byteArrayToValidate)
Validates given byte array
|
public Length(int refLength, at.favre.lib.bytes.BytesValidator.Length.Mode mode)
public boolean validate(byte[] byteArrayToValidate)
BytesValidator
validate
in interface BytesValidator
byteArrayToValidate
- array, must not be altered, only readCopyright © 2017–2018. All rights reserved.