scodec-core
scodec-core
scodec
scodec.codecs
scodec-core
/
scodec
/
SizeBound$
SizeBound
object
SizeBound
Companion for
SizeBound
.
Companion
class
Graph
Super types
trait
Product
trait
Mirror
class
Object
trait
Matchable
class
Any
Type members
Value members
Type members
Inherited types
type
MirroredLabel
<:
String
The name of the type
Inhertied from
Mirror
type
MirroredElemLabels
<:
Tuple
The names of the product elements
Inhertied from
Mirror
Value members
Methods
def
exact
(size:
Long
):
SizeBound
Creates a bound for an exact size.
def
atLeast
(size:
Long
):
SizeBound
Creates a bound with the specified lower bound and no upper bound.
def
atMost
(size:
Long
):
SizeBound
Creates a bound with a lower bound of 0 and the specified upper bound.
def
bounded
(lower:
Long
, upper:
Long
):
SizeBound
Creates a bound with the specified lower and upper bounds.
def
choice
(bounds:
Iterable
[
SizeBound
]):
SizeBound
Returns the union of all of the specified bounds, or an exact 0 size if the specified collection is empty.
Fields
val
unknown
:
SizeBound
Bound that indicates nothing is known about the size of encoded vectors.