Trait

sbinary

StandardTypes

Related Doc: package sbinary

Permalink

trait StandardTypes extends CollectionTypes

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StandardTypes
  2. CollectionTypes
  3. LowPriorityCollectionTypes
  4. Generic
  5. BasicTypes
  6. CoreProtocol
  7. Protocol
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract class CollectionFormat[S, T] extends Format[S]

    Permalink

    A more general LengthEncoded (arrays are no longer collections)

    A more general LengthEncoded (arrays are no longer collections)

    Definition Classes
    Generic
  2. abstract class LengthEncoded[S <: Traversable[T], T] extends CollectionFormat[S, T]

    Permalink

    Format instance which encodes the collection by first writing the length of the collection as an int, then writing the collection elements in order.

    Format instance which encodes the collection by first writing the length of the collection as an int, then writing the collection elements in order.

    Definition Classes
    Generic
  3. case class Summand[T](clazz: Class[_], format: Format[T]) extends Product with Serializable

    Permalink
    Definition Classes
    Generic

Abstract Value Members

  1. implicit abstract val BooleanFormat: Format[Boolean]

    Permalink
    Definition Classes
    CoreProtocol
  2. implicit abstract val CharFormat: Format[Char]

    Permalink
    Definition Classes
    CoreProtocol
  3. implicit abstract val DoubleFormat: Format[Double]

    Permalink
    Definition Classes
    CoreProtocol
  4. implicit abstract val FloatFormat: Format[Float]

    Permalink
    Definition Classes
    CoreProtocol
  5. implicit abstract val IntFormat: Format[Int]

    Permalink
    Definition Classes
    CoreProtocol
  6. implicit abstract val LongFormat: Format[Long]

    Permalink
    Definition Classes
    CoreProtocol
  7. implicit abstract val ShortFormat: Format[Short]

    Permalink
    Definition Classes
    CoreProtocol
  8. implicit abstract val StringFormat: Format[String]

    Permalink
    Definition Classes
    CoreProtocol

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. implicit object BigDecimalFormat extends Format[BigDecimal]

    Permalink
  5. implicit object BigIntFormat extends Format[BigInt]

    Permalink
  6. implicit object ByteArrayFormat extends Format[Array[Byte]]

    Permalink
    Definition Classes
    CollectionTypes
  7. implicit object ByteFormat extends Format[Byte]

    Permalink
    Definition Classes
    Protocol
  8. implicit object ClassFormat extends Format[Class[_]]

    Permalink
  9. implicit lazy val FileFormat: Format[File]

    Permalink
  10. implicit lazy val SymbolFormat: Format[Symbol]

    Permalink
  11. implicit object UnitFormat extends Format[Unit]

    Permalink
    Definition Classes
    Protocol
  12. implicit lazy val UriFormat: Format[URI]

    Permalink
  13. implicit lazy val UrlFormat: Format[URL]

    Permalink
  14. implicit lazy val XmlFormat: Format[NodeSeq]

    Permalink
  15. implicit def anyToSummand[T](t: T): Summand[T]

    Permalink
    Definition Classes
    Generic
  16. implicit def arrayFormat[T](implicit fmt: Format[T], mf: Manifest[T]): Format[Array[T]]

    Permalink
    Definition Classes
    CollectionTypesGeneric
  17. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  18. def asProduct10[S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10](apply: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) ⇒ S)(unapply: (S) ⇒ Product10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10])(implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8], bin9: Format[T9], bin10: Format[T10]): Format[S]

    Permalink

    Represents this type as 10 consecutive binary blocks of type T1..T10, relative to the specified way of decomposing and composing S as such.

    Represents this type as 10 consecutive binary blocks of type T1..T10, relative to the specified way of decomposing and composing S as such.

    Definition Classes
    Generic
  19. def asProduct11[S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11](apply: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) ⇒ S)(unapply: (S) ⇒ Product11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11])(implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8], bin9: Format[T9], bin10: Format[T10], bin11: Format[T11]): Format[S]

    Permalink

    Represents this type as 11 consecutive binary blocks of type T1..T11, relative to the specified way of decomposing and composing S as such.

    Represents this type as 11 consecutive binary blocks of type T1..T11, relative to the specified way of decomposing and composing S as such.

    Definition Classes
    Generic
  20. def asProduct12[S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12](apply: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) ⇒ S)(unapply: (S) ⇒ Product12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12])(implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8], bin9: Format[T9], bin10: Format[T10], bin11: Format[T11], bin12: Format[T12]): Format[S]

    Permalink

    Represents this type as 12 consecutive binary blocks of type T1..T12, relative to the specified way of decomposing and composing S as such.

    Represents this type as 12 consecutive binary blocks of type T1..T12, relative to the specified way of decomposing and composing S as such.

    Definition Classes
    Generic
  21. def asProduct13[S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13](apply: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) ⇒ S)(unapply: (S) ⇒ Product13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13])(implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8], bin9: Format[T9], bin10: Format[T10], bin11: Format[T11], bin12: Format[T12], bin13: Format[T13]): Format[S]

    Permalink

    Represents this type as 13 consecutive binary blocks of type T1..T13, relative to the specified way of decomposing and composing S as such.

    Represents this type as 13 consecutive binary blocks of type T1..T13, relative to the specified way of decomposing and composing S as such.

    Definition Classes
    Generic
  22. def asProduct14[S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14](apply: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) ⇒ S)(unapply: (S) ⇒ Product14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14])(implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8], bin9: Format[T9], bin10: Format[T10], bin11: Format[T11], bin12: Format[T12], bin13: Format[T13], bin14: Format[T14]): Format[S]

    Permalink

    Represents this type as 14 consecutive binary blocks of type T1..T14, relative to the specified way of decomposing and composing S as such.

    Represents this type as 14 consecutive binary blocks of type T1..T14, relative to the specified way of decomposing and composing S as such.

    Definition Classes
    Generic
  23. def asProduct15[S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15](apply: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) ⇒ S)(unapply: (S) ⇒ Product15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15])(implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8], bin9: Format[T9], bin10: Format[T10], bin11: Format[T11], bin12: Format[T12], bin13: Format[T13], bin14: Format[T14], bin15: Format[T15]): Format[S]

    Permalink

    Represents this type as 15 consecutive binary blocks of type T1..T15, relative to the specified way of decomposing and composing S as such.

    Represents this type as 15 consecutive binary blocks of type T1..T15, relative to the specified way of decomposing and composing S as such.

    Definition Classes
    Generic
  24. def asProduct16[S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16](apply: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) ⇒ S)(unapply: (S) ⇒ Product16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16])(implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8], bin9: Format[T9], bin10: Format[T10], bin11: Format[T11], bin12: Format[T12], bin13: Format[T13], bin14: Format[T14], bin15: Format[T15], bin16: Format[T16]): Format[S]

    Permalink

    Represents this type as 16 consecutive binary blocks of type T1..T16, relative to the specified way of decomposing and composing S as such.

    Represents this type as 16 consecutive binary blocks of type T1..T16, relative to the specified way of decomposing and composing S as such.

    Definition Classes
    Generic
  25. def asProduct17[S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17](apply: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17) ⇒ S)(unapply: (S) ⇒ Product17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17])(implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8], bin9: Format[T9], bin10: Format[T10], bin11: Format[T11], bin12: Format[T12], bin13: Format[T13], bin14: Format[T14], bin15: Format[T15], bin16: Format[T16], bin17: Format[T17]): Format[S]

    Permalink

    Represents this type as 17 consecutive binary blocks of type T1..T17, relative to the specified way of decomposing and composing S as such.

    Represents this type as 17 consecutive binary blocks of type T1..T17, relative to the specified way of decomposing and composing S as such.

    Definition Classes
    Generic
  26. def asProduct18[S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18](apply: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18) ⇒ S)(unapply: (S) ⇒ Product18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18])(implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8], bin9: Format[T9], bin10: Format[T10], bin11: Format[T11], bin12: Format[T12], bin13: Format[T13], bin14: Format[T14], bin15: Format[T15], bin16: Format[T16], bin17: Format[T17], bin18: Format[T18]): Format[S]

    Permalink

    Represents this type as 18 consecutive binary blocks of type T1..T18, relative to the specified way of decomposing and composing S as such.

    Represents this type as 18 consecutive binary blocks of type T1..T18, relative to the specified way of decomposing and composing S as such.

    Definition Classes
    Generic
  27. def asProduct19[S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19](apply: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19) ⇒ S)(unapply: (S) ⇒ Product19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19])(implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8], bin9: Format[T9], bin10: Format[T10], bin11: Format[T11], bin12: Format[T12], bin13: Format[T13], bin14: Format[T14], bin15: Format[T15], bin16: Format[T16], bin17: Format[T17], bin18: Format[T18], bin19: Format[T19]): Format[S]

    Permalink

    Represents this type as 19 consecutive binary blocks of type T1..T19, relative to the specified way of decomposing and composing S as such.

    Represents this type as 19 consecutive binary blocks of type T1..T19, relative to the specified way of decomposing and composing S as such.

    Definition Classes
    Generic
  28. def asProduct2[S, T1, T2](apply: (T1, T2) ⇒ S)(unapply: (S) ⇒ Product2[T1, T2])(implicit bin1: Format[T1], bin2: Format[T2]): Format[S]

    Permalink

    Represents this type as 2 consecutive binary blocks of type T1..T2, relative to the specified way of decomposing and composing S as such.

    Represents this type as 2 consecutive binary blocks of type T1..T2, relative to the specified way of decomposing and composing S as such.

    Definition Classes
    Generic
  29. def asProduct20[S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20](apply: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20) ⇒ S)(unapply: (S) ⇒ Product20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20])(implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8], bin9: Format[T9], bin10: Format[T10], bin11: Format[T11], bin12: Format[T12], bin13: Format[T13], bin14: Format[T14], bin15: Format[T15], bin16: Format[T16], bin17: Format[T17], bin18: Format[T18], bin19: Format[T19], bin20: Format[T20]): Format[S]

    Permalink

    Represents this type as 20 consecutive binary blocks of type T1..T20, relative to the specified way of decomposing and composing S as such.

    Represents this type as 20 consecutive binary blocks of type T1..T20, relative to the specified way of decomposing and composing S as such.

    Definition Classes
    Generic
  30. def asProduct21[S, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21](apply: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21) ⇒ S)(unapply: (S) ⇒ Product21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21])(implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8], bin9: Format[T9], bin10: Format[T10], bin11: Format[T11], bin12: Format[T12], bin13: Format[T13], bin14: Format[T14], bin15: Format[T15], bin16: Format[T16], bin17: Format[T17], bin18: Format[T18], bin19: Format[T19], bin20: Format[T20], bin21: Format[T21]): Format[S]

    Permalink

    Represents this type as 21 consecutive binary blocks of type T1..T21, relative to the specified way of decomposing and composing S as such.

    Represents this type as 21 consecutive binary blocks of type T1..T21, relative to the specified way of decomposing and composing S as such.

    Definition Classes
    Generic
  31. def asProduct3[S, T1, T2, T3](apply: (T1, T2, T3) ⇒ S)(unapply: (S) ⇒ Product3[T1, T2, T3])(implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3]): Format[S]

    Permalink

    Represents this type as 3 consecutive binary blocks of type T1..T3, relative to the specified way of decomposing and composing S as such.

    Represents this type as 3 consecutive binary blocks of type T1..T3, relative to the specified way of decomposing and composing S as such.

    Definition Classes
    Generic
  32. def asProduct4[S, T1, T2, T3, T4](apply: (T1, T2, T3, T4) ⇒ S)(unapply: (S) ⇒ Product4[T1, T2, T3, T4])(implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4]): Format[S]

    Permalink

    Represents this type as 4 consecutive binary blocks of type T1..T4, relative to the specified way of decomposing and composing S as such.

    Represents this type as 4 consecutive binary blocks of type T1..T4, relative to the specified way of decomposing and composing S as such.

    Definition Classes
    Generic
  33. def asProduct5[S, T1, T2, T3, T4, T5](apply: (T1, T2, T3, T4, T5) ⇒ S)(unapply: (S) ⇒ Product5[T1, T2, T3, T4, T5])(implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5]): Format[S]

    Permalink

    Represents this type as 5 consecutive binary blocks of type T1..T5, relative to the specified way of decomposing and composing S as such.

    Represents this type as 5 consecutive binary blocks of type T1..T5, relative to the specified way of decomposing and composing S as such.

    Definition Classes
    Generic
  34. def asProduct6[S, T1, T2, T3, T4, T5, T6](apply: (T1, T2, T3, T4, T5, T6) ⇒ S)(unapply: (S) ⇒ Product6[T1, T2, T3, T4, T5, T6])(implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6]): Format[S]

    Permalink

    Represents this type as 6 consecutive binary blocks of type T1..T6, relative to the specified way of decomposing and composing S as such.

    Represents this type as 6 consecutive binary blocks of type T1..T6, relative to the specified way of decomposing and composing S as such.

    Definition Classes
    Generic
  35. def asProduct7[S, T1, T2, T3, T4, T5, T6, T7](apply: (T1, T2, T3, T4, T5, T6, T7) ⇒ S)(unapply: (S) ⇒ Product7[T1, T2, T3, T4, T5, T6, T7])(implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7]): Format[S]

    Permalink

    Represents this type as 7 consecutive binary blocks of type T1..T7, relative to the specified way of decomposing and composing S as such.

    Represents this type as 7 consecutive binary blocks of type T1..T7, relative to the specified way of decomposing and composing S as such.

    Definition Classes
    Generic
  36. def asProduct8[S, T1, T2, T3, T4, T5, T6, T7, T8](apply: (T1, T2, T3, T4, T5, T6, T7, T8) ⇒ S)(unapply: (S) ⇒ Product8[T1, T2, T3, T4, T5, T6, T7, T8])(implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8]): Format[S]

    Permalink

    Represents this type as 8 consecutive binary blocks of type T1..T8, relative to the specified way of decomposing and composing S as such.

    Represents this type as 8 consecutive binary blocks of type T1..T8, relative to the specified way of decomposing and composing S as such.

    Definition Classes
    Generic
  37. def asProduct9[S, T1, T2, T3, T4, T5, T6, T7, T8, T9](apply: (T1, T2, T3, T4, T5, T6, T7, T8, T9) ⇒ S)(unapply: (S) ⇒ Product9[T1, T2, T3, T4, T5, T6, T7, T8, T9])(implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8], bin9: Format[T9]): Format[S]

    Permalink

    Represents this type as 9 consecutive binary blocks of type T1..T9, relative to the specified way of decomposing and composing S as such.

    Represents this type as 9 consecutive binary blocks of type T1..T9, relative to the specified way of decomposing and composing S as such.

    Definition Classes
    Generic
  38. def asSingleton[T](t: T): Format[T]

    Permalink

    Trivial serialization.

    Trivial serialization. Writing is a no-op, reading always returns this instance.

    Definition Classes
    Generic
  39. def asUnion[S](summands: Summand[_ <: S]*): Format[S]

    Permalink

    Uses a single tag byte to represent S as a union of subtypes.

    Uses a single tag byte to represent S as a union of subtypes.

    Definition Classes
    Generic
  40. def canBuildFormat[CC[X] <: Traversable[X], T](implicit bin: Format[T], cbf: CanBuildFrom[Nothing, T, CC[T]]): Format[CC[T]]

    Permalink
    Definition Classes
    LowPriorityCollectionTypes
  41. implicit def classToSummand[T](clazz: Class[T])(implicit bin: Format[T]): Summand[T]

    Permalink
    Definition Classes
    Generic
  42. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def enumerationFormat[V <: Value](enumeration: Enumeration): Format[V]

    Permalink

    Create a format for an enumeration, representing values by their integer IDs.

    Create a format for an enumeration, representing values by their integer IDs.

    Note that due to type system limitations we cannot enforce that you pass the right Enumeration to this method. Be good.

    Definition Classes
    Generic
  44. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  45. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  46. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  47. implicit def formatToSummand[T](format: Format[T])(implicit mf: Manifest[T]): Summand[T]

    Permalink
    Definition Classes
    Generic
  48. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  49. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  50. implicit def immutableMapFormat[S, T](implicit binS: Format[S], binT: Format[T]): Format[Map[S, T]]

    Permalink
    Definition Classes
    CollectionTypes
  51. implicit def immutableSetFormat[T](implicit bin: Format[T]): Format[Set[T]]

    Permalink
    Definition Classes
    CollectionTypes
  52. implicit def immutableSortedMapFormat[S, T](implicit ord: Ordering[S], binS: Format[S], binT: Format[T]): Format[SortedMap[S, T]]

    Permalink
    Definition Classes
    CollectionTypes
  53. implicit def immutableSortedSetFormat[S](implicit ord: Ordering[S], binS: Format[S]): Format[SortedSet[S]]

    Permalink
    Definition Classes
    CollectionTypes
  54. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  55. def lazyFormat[S](bin: ⇒ Format[S]): Format[S] { lazy val delegate: sbinary.Format[S] }

    Permalink

    Lazy wrapper around a binary.

    Lazy wrapper around a binary. Useful when you want e.g. mutually recursive binary instances.

    Definition Classes
    Generic
  56. implicit def listFormat[T](implicit bin: Format[T]): Format[List[T]]

    Permalink
    Definition Classes
    CollectionTypesGeneric
  57. implicit def mutableSetFormat[T](implicit bin: Format[T]): Format[Set[T]]

    Permalink
    Definition Classes
    CollectionTypes
  58. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  59. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  60. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  61. implicit def optionsAreFormat[S](implicit bin: Format[S]): Format[Option[S]]

    Permalink
    Definition Classes
    BasicTypes
  62. implicit def streamFormat[S](implicit bin: Format[S]): Format[Stream[S]]

    Permalink

    Format instance for streams.

    Format instance for streams. Note that unlike almost all other collections this is not length encoded Instead it is encoded with a sequence of byte separators, with a single byte value of 1 preceding each element to be read and a value of 0 indicating the stream termination.

    This is to ensure proper laziness behaviour - values will be written as they become available rather than thunking the entire stream up front.

    Warning! The resulting Stream is not read lazily. If you wish to read a Stream lazily you may consider it to be a sequence of Option[T]s terminated by a None.

    Note that this behaviour has changed from that of SFormat 0.2.1, though the format remains the same.

    Definition Classes
    CollectionTypes
  63. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  64. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  65. implicit def tuple10Format[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10](implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8], bin9: Format[T9], bin10: Format[T10]): Format[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)]

    Permalink
    Definition Classes
    BasicTypes
  66. implicit def tuple11Format[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11](implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8], bin9: Format[T9], bin10: Format[T10], bin11: Format[T11]): Format[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)]

    Permalink
    Definition Classes
    BasicTypes
  67. implicit def tuple12Format[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12](implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8], bin9: Format[T9], bin10: Format[T10], bin11: Format[T11], bin12: Format[T12]): Format[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)]

    Permalink
    Definition Classes
    BasicTypes
  68. implicit def tuple13Format[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13](implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8], bin9: Format[T9], bin10: Format[T10], bin11: Format[T11], bin12: Format[T12], bin13: Format[T13]): Format[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)]

    Permalink
    Definition Classes
    BasicTypes
  69. implicit def tuple14Format[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14](implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8], bin9: Format[T9], bin10: Format[T10], bin11: Format[T11], bin12: Format[T12], bin13: Format[T13], bin14: Format[T14]): Format[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)]

    Permalink
    Definition Classes
    BasicTypes
  70. implicit def tuple15Format[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15](implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8], bin9: Format[T9], bin10: Format[T10], bin11: Format[T11], bin12: Format[T12], bin13: Format[T13], bin14: Format[T14], bin15: Format[T15]): Format[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)]

    Permalink
    Definition Classes
    BasicTypes
  71. implicit def tuple16Format[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16](implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8], bin9: Format[T9], bin10: Format[T10], bin11: Format[T11], bin12: Format[T12], bin13: Format[T13], bin14: Format[T14], bin15: Format[T15], bin16: Format[T16]): Format[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)]

    Permalink
    Definition Classes
    BasicTypes
  72. implicit def tuple17Format[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17](implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8], bin9: Format[T9], bin10: Format[T10], bin11: Format[T11], bin12: Format[T12], bin13: Format[T13], bin14: Format[T14], bin15: Format[T15], bin16: Format[T16], bin17: Format[T17]): Format[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)]

    Permalink
    Definition Classes
    BasicTypes
  73. implicit def tuple18Format[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18](implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8], bin9: Format[T9], bin10: Format[T10], bin11: Format[T11], bin12: Format[T12], bin13: Format[T13], bin14: Format[T14], bin15: Format[T15], bin16: Format[T16], bin17: Format[T17], bin18: Format[T18]): Format[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)]

    Permalink
    Definition Classes
    BasicTypes
  74. implicit def tuple19Format[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19](implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8], bin9: Format[T9], bin10: Format[T10], bin11: Format[T11], bin12: Format[T12], bin13: Format[T13], bin14: Format[T14], bin15: Format[T15], bin16: Format[T16], bin17: Format[T17], bin18: Format[T18], bin19: Format[T19]): Format[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)]

    Permalink
    Definition Classes
    BasicTypes
  75. implicit def tuple20Format[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20](implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8], bin9: Format[T9], bin10: Format[T10], bin11: Format[T11], bin12: Format[T12], bin13: Format[T13], bin14: Format[T14], bin15: Format[T15], bin16: Format[T16], bin17: Format[T17], bin18: Format[T18], bin19: Format[T19], bin20: Format[T20]): Format[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)]

    Permalink
    Definition Classes
    BasicTypes
  76. implicit def tuple21Format[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21](implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8], bin9: Format[T9], bin10: Format[T10], bin11: Format[T11], bin12: Format[T12], bin13: Format[T13], bin14: Format[T14], bin15: Format[T15], bin16: Format[T16], bin17: Format[T17], bin18: Format[T18], bin19: Format[T19], bin20: Format[T20], bin21: Format[T21]): Format[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21)]

    Permalink
    Definition Classes
    BasicTypes
  77. implicit def tuple22Format[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22](implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8], bin9: Format[T9], bin10: Format[T10], bin11: Format[T11], bin12: Format[T12], bin13: Format[T13], bin14: Format[T14], bin15: Format[T15], bin16: Format[T16], bin17: Format[T17], bin18: Format[T18], bin19: Format[T19], bin20: Format[T20], bin21: Format[T21], bin22: Format[T22]): Format[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22)]

    Permalink
    Definition Classes
    BasicTypes
  78. implicit def tuple2Format[T1, T2](implicit bin1: Format[T1], bin2: Format[T2]): Format[(T1, T2)]

    Permalink
    Definition Classes
    BasicTypes
  79. implicit def tuple3Format[T1, T2, T3](implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3]): Format[(T1, T2, T3)]

    Permalink
    Definition Classes
    BasicTypes
  80. implicit def tuple4Format[T1, T2, T3, T4](implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4]): Format[(T1, T2, T3, T4)]

    Permalink
    Definition Classes
    BasicTypes
  81. implicit def tuple5Format[T1, T2, T3, T4, T5](implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5]): Format[(T1, T2, T3, T4, T5)]

    Permalink
    Definition Classes
    BasicTypes
  82. implicit def tuple6Format[T1, T2, T3, T4, T5, T6](implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6]): Format[(T1, T2, T3, T4, T5, T6)]

    Permalink
    Definition Classes
    BasicTypes
  83. implicit def tuple7Format[T1, T2, T3, T4, T5, T6, T7](implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7]): Format[(T1, T2, T3, T4, T5, T6, T7)]

    Permalink
    Definition Classes
    BasicTypes
  84. implicit def tuple8Format[T1, T2, T3, T4, T5, T6, T7, T8](implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8]): Format[(T1, T2, T3, T4, T5, T6, T7, T8)]

    Permalink
    Definition Classes
    BasicTypes
  85. implicit def tuple9Format[T1, T2, T3, T4, T5, T6, T7, T8, T9](implicit bin1: Format[T1], bin2: Format[T2], bin3: Format[T3], bin4: Format[T4], bin5: Format[T5], bin6: Format[T6], bin7: Format[T7], bin8: Format[T8], bin9: Format[T9]): Format[(T1, T2, T3, T4, T5, T6, T7, T8, T9)]

    Permalink
    Definition Classes
    BasicTypes
  86. def viaArray[S <: Traversable[T], T](f: (Array[T]) ⇒ S)(implicit binary: Format[T], mf: Manifest[T]): Format[S]

    Permalink

    Length encodes, but with the result built from an array.

    Length encodes, but with the result built from an array.

    Definition Classes
    Generic
  87. def viaSeq[S <: Traversable[T], T](f: (Seq[T]) ⇒ S)(implicit binary: Format[T]): Format[S]

    Permalink

    Length encodes, but with the result built from a Seq.

    Length encodes, but with the result built from a Seq. Useful for when a ClassManifest is not available the underlying type T.

    Definition Classes
    Generic
  88. def viaString[T](f: (String) ⇒ T): Format[T]

    Permalink

    Encodes and decodes via some String representation.

    Encodes and decodes via some String representation.

    Definition Classes
    Generic
  89. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  90. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  91. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  92. def withStamp[S, T](stamp: S)(binary: Format[T])(implicit binS: Format[S]): Format[T]

    Permalink

    Attaches a stamp to the data.

    Attaches a stamp to the data. This stamp is placed at the beginning of the format and may be used to verify the integrity of the data (e.g. a magic number for the data format version).

    Definition Classes
    Generic
  93. def wrap[S, T](to: (S) ⇒ T, from: (T) ⇒ S)(implicit bin: Format[T]): Format[S]

    Permalink

    Serializes this via a bijection to some other type.

    Serializes this via a bijection to some other type.

    Definition Classes
    Generic

Inherited from CollectionTypes

Inherited from Generic

Inherited from BasicTypes

Inherited from CoreProtocol

Inherited from Protocol

Inherited from AnyRef

Inherited from Any

Ungrouped