Exemplo n.º 1
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));
     }
 }
Exemplo n.º 2
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));
     }
 }