scalus.flat

package scalus.flat

Members list

Concise view

Type members

Classlikes

class ArrayByteFlat extends Flat[Array[Byte]]

Prealigned Arrays of bytes PreAligned a ≡ PreAligned {preFiller :: Filler, preValue :: a}

Prealigned Arrays of bytes PreAligned a ≡ PreAligned {preFiller :: Filler, preValue :: a}

Filler ≡ FillerBit Filler | FillerEnd

Array v = A0 | A1 v (Array v) | A2 v v (Array v) ... | A255 ... (Array v)

Attributes

Graph
Supertypes
trait Flat[Array[Byte]]
class Object
trait Matchable
class Any
class DecoderState(val buffer: Uint8Array)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
class EncoderState(bufferSize: Int)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
trait Flat[A]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class Natural(n: BigInt)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object given_Flat_BigInt extends Flat[BigInt]

Attributes

Graph
Supertypes
trait Flat[BigInt]
class Object
trait Matchable
class Any
Self type
object given_Flat_Boolean extends Flat[Boolean]

Attributes

Graph
Supertypes
trait Flat[Boolean]
class Object
trait Matchable
class Any
Self type
object given_Flat_Long extends Flat[Long]

Attributes

Graph
Supertypes
trait Flat[Long]
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
trait Flat[Natural]
class Object
trait Matchable
class Any
Self type
object given_Flat_String extends Flat[String]

Attributes

Graph
Supertypes
trait Flat[String]
class Object
trait Matchable
class Any
Self type
object given_Flat_Unit extends Flat[Unit]

Attributes

Graph
Supertypes
trait Flat[Unit]
class Object
trait Matchable
class Any
Self type

Types

type Uint8Array = Array[Byte]

Value members

Concrete methods

def byteAsBitString(b: Byte): String
def decode[A : Flat](dec: DecoderState): A
def encode[A : Flat](a: A, enc: EncoderState): Unit
def w7l(n: Long): List[Byte]
def w7l(n: BigInt): List[Byte]
def zagZig(u: Long): Long
def zagZig(u: BigInt): BigInt
def zigZag(x: Long): Long
def zigZag(x: BigInt): BigInt

Givens