module

OSC::Util

Instance methods

align(x : Int)

Calculate next aligned boundaries

Source
align!(x : Array(UInt8))

Insert 0-3 null charactors to align.

Source
args_start(data : Array(UInt8))

Serch index of head of arguments

Source
bundle?(data : Array(UInt8), pos = 0)

Check if data is bundle.

Source
bundle?(data : String)

Check if data is bundle.

Source
message?(data : Array(UInt8), pos = 0)

Check if data is Message.

Source
message?(data : String)

Check if data is Message.

Source
skip_null(data : Array(UInt8), offset = 0)

Skip null charactors.

Source
skip_padding(data : Array(UInt8), offset = 0)

Skip paddig (proceed the position to next head of alignment).

Source
skip_until_null(data : Array(UInt8), offset = 0)

Skip until this find a null charactors. This returns the index of past-the-end, if given data does'nt contain null.

Source
tag_start(data : Array(UInt8))

Serch index of head of tag including ','

Source