Esempio n. 1
0
 /**
  * Convert the arguments into a byte array. Used internally.
  *
  * @param stream OscPacketByteArrayConverter
  */
 protected void computeArgumentsByteArray(OSCJavaToByteArrayConverter stream) {
   stream.write(',');
   if (null == arguments) return;
   stream.writeTypes(arguments);
   Enumeration enume = arguments.elements();
   while (enume.hasMoreElements()) {
     stream.write(enume.nextElement());
   }
 }
Esempio n. 2
0
 /**
  * Convert the message into a byte array. Used internally.
  *
  * @param stream OscPacketByteArrayConverter
  */
 protected void computeByteArray(OSCJavaToByteArrayConverter stream) {
   computeAddressByteArray(stream);
   computeArgumentsByteArray(stream);
   byteArray = stream.toByteArray();
 }
Esempio n. 3
0
 /**
  * Convert the address into a byte array. Used internally.
  *
  * @param stream OscPacketByteArrayConverter
  */
 protected void computeAddressByteArray(OSCJavaToByteArrayConverter stream) {
   stream.write(address);
 }