| Modifier and Type | Class and Description |
|---|---|
static class |
BytesValidator.IdenticalContent
Checks if a byte array contains only the same value
|
static class |
BytesValidator.Length
Validates for specific array length
|
| Modifier and Type | Method and Description |
|---|---|
static BytesValidator |
BytesValidators.exactLength(int value) |
static BytesValidator |
BytesValidators.longerThan(int value)
Checks the length of a byte array
|
static BytesValidator |
BytesValidators.onlyOf(byte value) |
static BytesValidator |
BytesValidators.shorterThan(int value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Bytes.validate(BytesValidator... bytesValidators)
Applies all given validators and returns true if all of them return true
|
Copyright © 2017. All rights reserved.