You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NIO provides a useful type for serializing stuff into byte stream, ByteBuffer.
Actual implementation simply concatenates output into [UInt8]. ByteBuffer covers this function way better.
Affected types
OSCConvertible protocol that defines serialization, particularly
var oscValue: [Byte]? { get } - provides serialized value as bytes array
init?(data: [Byte]) and init?(data: ArraySlice<Byte>) constructors. They make up types from bytes stream
conversion module is where serialization stuff takes place
extract.swift the entry point of decoding OSC packets.
Constructors of OSCMessage and OSCBundle where all the decoding happens.
Tests/OSCCoreTests/ValueConversionTests test suite.
NIO provides a useful type for serializing stuff into byte stream, ByteBuffer.
Actual implementation simply concatenates output into
[UInt8]
.ByteBuffer
covers this function way better.Affected types
OSCConvertible
protocol that defines serialization, particularlyvar oscValue: [Byte]? { get }
- provides serialized value as bytes arrayinit?(data: [Byte])
andinit?(data: ArraySlice<Byte>)
constructors. They make up types from bytes streamextract.swift
the entry point of decoding OSC packets.OSCMessage
andOSCBundle
where all the decoding happens.Tests/OSCCoreTests/ValueConversionTests
test suite.This ticket also affects #16
The text was updated successfully, but these errors were encountered: