public static T Read16 <T>(NetworkReader reader) { BWrite16 <T> proxy = default(BWrite16 <T>); proxy.v1 = reader.ReadPackedUInt64(); proxy.v2 = reader.ReadPackedUInt64(); return(proxy.val); }
public static void Write16 <T>(NetworkWriter writer, T value) { BWrite16 <T> proxy = default(BWrite16 <T>); proxy.val = value; writer.WritePackedUInt64(proxy.v1); writer.WritePackedUInt64(proxy.v2); }