public class BytesValidators extends Object
BytesValidators| Modifier and Type | Method and Description |
|---|---|
static BytesValidator |
atLeast(int byteLength)
Checks the length of a byte array
|
static BytesValidator |
atMost(int byteLength) |
static BytesValidator |
exactLength(int byteLength) |
static BytesValidator |
noneOf(byte value) |
static BytesValidator |
notOnlyOf(byte value) |
static BytesValidator |
onlyOf(byte value) |
public static BytesValidator atLeast(int byteLength)
byteLength - to check againstpublic static BytesValidator atMost(int byteLength)
public static BytesValidator exactLength(int byteLength)
public static BytesValidator onlyOf(byte value)
public static BytesValidator notOnlyOf(byte value)
public static BytesValidator noneOf(byte value)
Copyright © 2017. All rights reserved.