Example #1
0
 public void Write(TEnum value)
 {
     UnderlyingProxy.Write(Convert.ToInt32(value));
 }
Example #2
0
 public unsafe TEnum Read()
 {
     return((TEnum)Enum.ToObject(typeof(TEnum), UnderlyingProxy.Read()));
 }