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)
BytesValidatorvalidate in interface BytesValidatorbyteArrayToValidate - array, must not be altered, only readCopyright © 2017–2021. All rights reserved.