Trait/Object

eie.io

ToBytes

Related Docs: object ToBytes | package io

Permalink

trait ToBytes[T] extends Serializable

Typeclass to serialize a type to bytes

T

the value to convert

Linear Supertypes
Serializable, Serializable, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ToBytes
  2. Serializable
  3. Serializable
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def bytes(value: T): Array[Byte]

    Permalink

    Converts the T to bytes

    Converts the T to bytes

    value

    the value to convert

    returns

    the byte array representing this value

  2. abstract def getClass(): Class[_]

    Permalink
    Definition Classes
    Any

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ToBytes[T] to any2stringadd[ToBytes[T]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ToBytes[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ToBytes[T] to ArrowAssoc[ToBytes[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def contramap[A](f: (A) ⇒ T): ToBytes[A]

    Permalink
  8. def ensuring(cond: (ToBytes[T]) ⇒ Boolean, msg: ⇒ Any): ToBytes[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ToBytes[T] to Ensuring[ToBytes[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (ToBytes[T]) ⇒ Boolean): ToBytes[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ToBytes[T] to Ensuring[ToBytes[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): ToBytes[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ToBytes[T] to Ensuring[ToBytes[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): ToBytes[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from ToBytes[T] to Ensuring[ToBytes[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  13. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ToBytes[T] to StringFormat[ToBytes[T]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  14. def hashCode(): Int

    Permalink
    Definition Classes
    Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def toString(): String

    Permalink
    Definition Classes
    Any
  17. def [B](y: B): (ToBytes[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ToBytes[T] to ArrowAssoc[ToBytes[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Serializable

Inherited from Serializable

Inherited from Any

Inherited by implicit conversion any2stringadd from ToBytes[T] to any2stringadd[ToBytes[T]]

Inherited by implicit conversion StringFormat from ToBytes[T] to StringFormat[ToBytes[T]]

Inherited by implicit conversion Ensuring from ToBytes[T] to Ensuring[ToBytes[T]]

Inherited by implicit conversion ArrowAssoc from ToBytes[T] to ArrowAssoc[ToBytes[T]]

Ungrouped