- Companion
- class
Type members
Inherited classlikes
A more general LengthEncoded (arrays are no longer collections)
A more general LengthEncoded (arrays are no longer collections)
- Inherited from
- Generic
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.
- Inherited from
- Generic
A Format for strings compatible with the modified UTF format used by java.io.DataInput and java.io.DataOutput.
A Format for strings compatible with the modified UTF format used by java.io.DataInput and java.io.DataOutput.
- Inherited from
- JavaUTF
Value members
Inherited methods
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.
- Inherited from
- Generic
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.
- Inherited from
- Generic
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.
- Inherited from
- Generic
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.
- Inherited from
- Generic
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.
- Inherited from
- Generic
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.
- Inherited from
- Generic
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.
- Inherited from
- Generic
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.
- Inherited from
- Generic
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.
- Inherited from
- Generic
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.
- Inherited from
- Generic
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.
- Inherited from
- Generic
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.
- Inherited from
- Generic
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.
- Inherited from
- Generic
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.
- Inherited from
- Generic
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.
- Inherited from
- Generic
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.
- Inherited from
- Generic
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.
- Inherited from
- Generic
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.
- Inherited from
- Generic
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.
- Inherited from
- Generic
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.
- Inherited from
- Generic
Trivial serialization. Writing is a no-op, reading always returns this instance.
Trivial serialization. Writing is a no-op, reading always returns this instance.
- Inherited from
- Generic
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.
- Inherited from
- Generic
- Inherited from
- LowPriorityCollectionTypes
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.
- Inherited from
- Generic
Lazy wrapper around a binary. Useful when you want e.g. mutually recursive binary instances.
Lazy wrapper around a binary. Useful when you want e.g. mutually recursive binary instances.
- Inherited from
- Generic
Length encodes, but with the result built from an array.
Length encodes, but with the result built from an array.
- Inherited from
- Generic
Length encodes, but with the result built from a Seq.
Useful for when a ClassManifest is not available the underlying type T.
Length encodes, but with the result built from a Seq.
Useful for when a ClassManifest is not available the underlying type T.
- Inherited from
- Generic
Encodes and decodes via some String representation.
Encodes and decodes via some String representation.
- Inherited from
- Generic
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).
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).
- Inherited from
- Generic
Implicits
Inherited implicits
- Inherited from
- CollectionTypes
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.
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.
- Inherited from
- CollectionTypes
- Inherited from
- BasicTypes
- Inherited from
- BasicTypes
- Inherited from
- BasicTypes
- Inherited from
- BasicTypes
- Inherited from
- BasicTypes
- Inherited from
- BasicTypes
- Inherited from
- BasicTypes
- Inherited from
- BasicTypes
- Inherited from
- BasicTypes
- Inherited from
- BasicTypes
- Inherited from
- BasicTypes
- Inherited from
- BasicTypes
- Inherited from
- BasicTypes
- Inherited from
- BasicTypes