Byte

object Byte extends Byte.Custom.Framework[Byte]

Companion for scala.Byte

This object also defines specialized custom containers for Byte type, so the following code can run without boxing:

   val s: Byte.~    = 1.Byte <> 5.Byte

   val o: Byte.Opt  = s.readRaw_?  // Holds Byte.Opt(1)

   val l: Byte.Pack = s.><     // Holds (2,3,4,5)
Source
__.scala
class Object
trait Matchable
class Any

Member

trait _extension

Byte Extension Methods

Extension methods universaly avaialble for type scala.Byte

Source
_extension.scala
object Custom
Source
__.scala
object G

Raw Byte Generic Specialized Containers

The generic containers are never used directly, but rather as customized shortcuts for specific types.

For example:

  • Byte.G.><[Byte] usually called as Byte.Pack
  • Double.G.Idx[Percent] usually called as Percent.Idx
  • Int.G.Pro.Mutable[Day] usually called as Day.Pro.Mutable
  • Long.G.Collection[Time] usually called as Time.Collection
Source
__.scala

Alias

Inherited

Specialized buffer

Specialized buffer

Already parameterized generic buffer

Inherited from
Framework
Source
__.scala

Specialized collection

Specialized collection

Already parameterized generic collection

Inherited from
Framework
Source
__.scala
inline def Collection: Byte.Collection[Byte]

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala
final val Fun: Byte.Fun[Byte]

Specialized functions

Specialized functions

Already parameterized set of generic functions

Inherited from
Framework
Source
__.scala
type Idx = Byte.G.Idx[A]

Specialized indexed collection

Specialized indexed collection

Already parameterized generic indexed collection

Inherited from
Framework
Source
__.scala
final val Idx: Byte.Idx[Byte]

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala
type Lookup[B] = Byte.G.Lookup[A, B]

Specialized lookup collection

Specialized lookup collection

Already parameterized generic lookup collection

Inherited from
Framework
Source
__.scala
final val Lookup: Byte.Lookup[Byte]

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala
type Opt = Byte.G.Opt[A]

Specialized option

Specialized option

Already parameterized generic option

Inherited from
Framework
Source
__.scala
final val Opt: Byte.Opt[Byte]

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala

Parameterized J.Ordering

Parameterized J.Ordering

Already parameterized generic J.Ordering

Inherited from
Framework
Source
__.scala
type Pro = Byte.G.Pro[A]

Specialized property

Specialized property

Already parameterized generic property

Inherited from
Framework
Source
__.scala
final val Pro: Byte.Pro[Byte]

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala
type Promise = Promise[A]

Parameterized Val.Promise

Parameterized Val.Promise

Already parameterized generic Val.Promise

Inherited from
Framework
Source
__.scala
inline def Promise: Ref.Promise[Byte]

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala
type Result = Result.type[A]

Parameterized Val.Result

Parameterized Val.Result

Already parameterized generic Val.Result

Inherited from
Framework
Source
__.scala
inline def Result: Ref.Result[Byte]

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala

Type alias

Type alias

Shortcut to Collection.StableSet

Inherited from
Framework
Source
__.scala

Companion alias

Companion alias

Holds methods to construct type instances

Inherited from
Framework
Source
__.scala

Def

inline def math: Byte.G.Math[Byte]

Math interface

Math interface

Returns type math implementation

Source
__.scala
inline def max: Byte

Maximum

Maximum

Returns type maximum value: 127

Source
__.scala
inline def min: Byte

Minimum

Minimum

Returns type minimal value: -128

Source
__.scala
inline def ordering: Byte.G.Math.Ordering[Byte]

Ordering

Ordering

Returns type natural ordering

Source
__.scala

Inherited

inline def emptyArray: Array[Byte]

Empty array

Empty array

Returns singleton scala.Array.emptyByteArray

Inherited from
Framework
Source
__.scala