SizeBound

scodec.SizeBound$
See theSizeBound companion class
object SizeBound

Companion for SizeBound.

Attributes

Companion:
class
Source:
SizeBound.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source:
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source:
Mirror.scala

Value members

Concrete methods

def atLeast(size: Long): SizeBound

Creates a bound with the specified lower bound and no upper bound.

Creates a bound with the specified lower bound and no upper bound.

Attributes

Source:
SizeBound.scala
def atMost(size: Long): SizeBound

Creates a bound with a lower bound of 0 and the specified upper bound.

Creates a bound with a lower bound of 0 and the specified upper bound.

Attributes

Source:
SizeBound.scala
def bounded(lower: Long, upper: Long): SizeBound

Creates a bound with the specified lower and upper bounds.

Creates a bound with the specified lower and upper bounds.

Attributes

Source:
SizeBound.scala

Returns the union of all of the specified bounds, or an exact 0 size if the specified collection is empty.

Returns the union of all of the specified bounds, or an exact 0 size if the specified collection is empty.

Attributes

Source:
SizeBound.scala
def exact(size: Long): SizeBound

Creates a bound for an exact size.

Creates a bound for an exact size.

Attributes

Source:
SizeBound.scala

Concrete fields

Bound that indicates nothing is known about the size of encoded vectors.

Bound that indicates nothing is known about the size of encoded vectors.

Attributes

Source:
SizeBound.scala