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
Member
trait _extension
Byte Extension Methods
Extension methods universaly avaialble for type scala.Byte
- Source
- _extension.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 asByte.Pack
Double.G.Idx[Percent]
usually called asPercent.Idx
Int.G.Pro.Mutable[Day]
usually called asDay.Pro.Mutable
Long.G.Collection[Time]
usually called asTime.Collection
- Source
- __.scala