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