Ejemplo n.º 1
0
 public T Read <T>(Pointer pointer) where T : struct
 {
     return(TypeConverter.BytesToGenericType <T>(Read(pointer, MarshalType <T> .Size)));
 }
Ejemplo n.º 2
0
 public bool Write <T>(Pointer pointer, T value) where T : struct
 {
     return(Write(pointer, TypeConverter.GenericTypeToBytes(value)));
 }