Unpack() public static method

public static Unpack ( byte bytes, int &start, int end ) : OSCBundle
bytes byte
start int
end int
return OSCBundle
Exemplo n.º 1
0
 public static OSCPacket Unpack(byte[] bytes, ref int start, int end)
 {
     if (bytes[start] == '#')
     {
         return(OSCBundle.Unpack(bytes, ref start, end));
     }
     else
     {
         return(OSCMessage.Unpack(bytes, ref start));
     }
 }
Exemplo n.º 2
0
 public static OSCPacket Unpack(byte[] bytes, ref int start, int end, bool extendedMode = false)
 {
     if (bytes[start] == '#')
     {
         return(OSCBundle.Unpack(bytes, ref start, end, extendedMode));
     }
     else
     {
         return(OSCMessage.Unpack(bytes, ref start, extendedMode));
     }
 }