module OSC::Util
Extended Modules
Defined in:
osc-crystal/util.crInstance Method Summary
-
#align(x : Int)
Calculate next aligned boundaries
-
#align!(x : Array(UInt8))
Insert 0-3 null charactors to align.
-
#args_start(data : Array(UInt8))
Serch index of head of arguments
-
#bundle?(data : Array(UInt8), pos = 0)
Check if data is bundle.
-
#bundle?(data : String)
Check if data is bundle.
-
#message?(data : Array(UInt8), pos = 0)
Check if data is Message.
-
#message?(data : String)
Check if data is Message.
-
#skip_null(data : Array(UInt8), offset = 0)
Skip null charactors.
-
#skip_padding(data : Array(UInt8), offset = 0)
Skip paddig (proceed the position to next head of alignment).
-
#skip_until_null(data : Array(UInt8), offset = 0)
Skip until this find a null charactors.
-
#tag_start(data : Array(UInt8))
Serch index of head of tag including ','
Instance Method Detail
def skip_padding(data : Array(UInt8), offset = 0)
#
Skip paddig (proceed the position to next head of alignment).
def 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.