public static void Write8 <T>(NetworkWriter writer, T value) { BWrite8 <T> proxy = default(BWrite8 <T>); proxy.val = value; writer.WritePackedUInt64(proxy.v1); }
public static T Read8 <T>(NetworkReader reader) { BWrite8 <T> proxy = default(BWrite8 <T>); proxy.v1 = reader.ReadPackedUInt64(); return(proxy.val); }