final case class Bytes(byteCount: Long) extends AnyVal with Ordered[Bytes] with Product with Serializable
- Source
- units.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Bytes
- Serializable
- Product
- Equals
- Ordered
- Comparable
- AnyVal
- Any
Implicitly
- by orderingToOrdered
- by richDrxAny
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def *(x: Int): Bytes
- def +(that: Bytes): Bytes
- def -(that: Bytes): Bytes
- def ->[B](y: B): (Bytes, B)
- def /(x: Int): Bytes
- def <(that: Bytes): Boolean
- Definition Classes
- Ordered
- def <=(that: Bytes): Boolean
- Definition Classes
- Ordered
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def >(that: Bytes): Boolean
- Definition Classes
- Ordered
- def >=(that: Bytes): Boolean
- Definition Classes
- Ordered
- def applyIf(t: Boolean, f: (Bytes) => Bytes): Bytes
- Implicit
- This member is added by an implicit conversion from Bytes toDrxAny[Bytes] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyIf(t: (Bytes) => Boolean)(f: (Bytes) => Bytes): Bytes
better chaining for types
better chaining for types
- Implicit
- This member is added by an implicit conversion from Bytes toDrxAny[Bytes] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bits: Long
- val byteCount: Long
- def compare(that: Bytes): Int
- Definition Classes
- Bytes → Ordered
- def compareTo(that: Bytes): Int
- Definition Classes
- Ordered → Comparable
- def elementOf(xs: Set[Bytes]): Boolean
- Implicit
- This member is added by an implicit conversion from Bytes toDrxAny[Bytes] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def ensuring(cond: (Bytes) => Boolean, msg: => Any): Bytes
- def ensuring(cond: (Bytes) => Boolean): Bytes
- def ensuring(cond: Boolean, msg: => Any): Bytes
- def ensuring(cond: Boolean): Bytes
- def formatted(fmtstr: String): String
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def noneIf(f: (Bytes) => Boolean): Option[Bytes]
- Implicit
- This member is added by an implicit conversion from Bytes toDrxAny[Bytes] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def optionIf(f: (Bytes) => Boolean): Option[Bytes]
optionally wrap an object
optionally wrap an object
- Implicit
- This member is added by an implicit conversion from Bytes toDrxAny[Bytes] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def preApply[B](f: (Bytes) => B): B
a preApply f => f(a)
a preApply f => f(a)
- Implicit
- This member is added by an implicit conversion from Bytes toDrxAny[Bytes] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def sideEffect(f: (Bytes) => Unit): Bytes
side effect filter
side effect filter
- Implicit
- This member is added by an implicit conversion from Bytes toDrxAny[Bytes] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def someIf(f: (Bytes) => Boolean): Option[Bytes]
- Implicit
- This member is added by an implicit conversion from Bytes toDrxAny[Bytes] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- val thisAny: Bytes
- Implicit
- This member is added by an implicit conversion from Bytes toDrxAny[Bytes] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def toString(): String
- Definition Classes
- Bytes → Any
Shadowed Implicit Value Members
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from Bytes toany2stringadd[Bytes] performed by method any2stringadd in scala.Predef.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(bytes: any2stringadd[Bytes]).+(other)
- Definition Classes
- any2stringadd
- def <(that: Bytes): Boolean
- Implicit
- This member is added by an implicit conversion from Bytes toOrdered[Bytes] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(bytes: Ordered[Bytes]).<(that)
- Definition Classes
- Ordered
- def <=(that: Bytes): Boolean
- Implicit
- This member is added by an implicit conversion from Bytes toOrdered[Bytes] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(bytes: Ordered[Bytes]).<=(that)
- Definition Classes
- Ordered
- def >(that: Bytes): Boolean
- Implicit
- This member is added by an implicit conversion from Bytes toOrdered[Bytes] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(bytes: Ordered[Bytes]).>(that)
- Definition Classes
- Ordered
- def >=(that: Bytes): Boolean
- Implicit
- This member is added by an implicit conversion from Bytes toOrdered[Bytes] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(bytes: Ordered[Bytes]).>=(that)
- Definition Classes
- Ordered
- def compare(that: Bytes): Int
- Implicit
- This member is added by an implicit conversion from Bytes toOrdered[Bytes] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(bytes: Ordered[Bytes]).compare(that)
- Definition Classes
- Ordered
- def compareTo(that: Bytes): Int
- Implicit
- This member is added by an implicit conversion from Bytes toOrdered[Bytes] performed by method orderingToOrdered in scala.math.Ordered.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(bytes: Ordered[Bytes]).compareTo(that)
- Definition Classes
- Ordered → Comparable
Deprecated Value Members
- def ?>(f: (Bytes) => Boolean): Option[Bytes]
alias for option if
alias for option if
- Implicit
- This member is added by an implicit conversion from Bytes toDrxAny[Bytes] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) to many symbols are hard to undertand
- def size: Long
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) use
byteCount
instead
- def |>[B](f: (Bytes) => B): B
- Implicit
- This member is added by an implicit conversion from Bytes toDrxAny[Bytes] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) use
preApply
if you must (symbols are concise without concision)
- def →[B](y: B): (Bytes, B)
- Implicit
- This member is added by an implicit conversion from Bytes toArrowAssoc[Bytes] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.