Example #1
0
 public static X10JavaSerializable $_deserialize_body(
     RuntimeType rt, X10JavaDeserializer deserializer) throws IOException {
   short classId = deserializer.readSerializationId();
   Class<?> clazz = deserializer.getClassForID(classId);
   rt.javaClass = clazz;
   rt.numParams = deserializer.readByte();
   // TODO parents needed?
   return rt;
 }
Example #2
0
 public static X10JavaSerializable $_deserialize_body(
     UByte $_obj, X10JavaDeserializer $deserializer) throws IOException {
   byte value = $deserializer.readByte();
   $_obj = new UByte(value);
   return $_obj;
 }