Parse the OSC buffer and retrieve response consisting of COMMAND and ARGUMENTS.

Namespace: ExpSuite
Assembly: FrameWork (in FrameWork.exe) Version: 1.0.0.0

Syntax

Visual Basic
Public Shared Function ParseBuffer ( _
	bytData As Byte(), _
	ByRef szCmd As String, _
	ByRef varArgs As Object() _
) As String

Parameters

bytData
Type: array<System..::..Byte>[]()[][]
Buffer
szCmd
Type: System..::..String%
Command
varArgs
Type: array<System..::..Object>[]()[][]%
Array with parameters

Return Value

Error message, empty if no error ocured.

Remarks

Format: COMMAND \0 ,tags \0 arg1 arg2 arg3 ...
Tags:
  • i: integer, will be a Long
  • f: float, will be a single
  • s: string

  • Examples

    Example for 3 integers: COMMAND \0 ,iii \0 I1 I2 I3

    Examples

    Example for 2 integers and string: COMMAND \0 ,iis I1 I2 STRING

    All \0 are 32 filled up to a word (4 bytes)

    See Also