Enables support for the OSC 1.0 extended spec's array tags.
Enables support for the OSC 1.0 extended spec's array tags. An 'array' is written out as a type tag '[' (without associated value), followed by the normal encoding of the array elements, and finally another type tag ']' (without associated value).
On the Scala side, we wish to enforce a immutable type, hence
collection.immutable.IndexedSeq
was chosen over Array
for the decoder,
while the encoder accepts any Traversable
Resets the builder to strict OSC 1.0 spec,
meaning that it accepts only the pairs
Int
- i
, Float
- f
, String
- s
,
and ByteBuffer
- b
.
The character encoding to use for Strings.
The character encoding to use for Strings. Defaults to "UTF-8"
Resets the builder to SuperCollider server spec.
Resets the builder to SuperCollider server spec. That is, strict OSC 1.0, plus array support, down-casting of 64-bit numbers to 32-bit, encoding booleans as integers, and packet arguments as blobs, and.
Resets the builder to strict OSC 1.1 spec,
meaning that it accepts only the OSC 1.0 pairs,
as well as Boolean
- T
and F
, None
- N
,
Unit
- I
, Timetag
- t
.
Resets the builder to strict OSC 1.1 spec,
meaning that it accepts only the OSC 1.0 pairs,
as well as Boolean
- T
and F
, None
- N
,
Unit
- I
, Timetag
- t
.
Note that this does not affect the way that
packets are encoded with on a TCP stream
(see the TCP
documentation for more information).