コード例 #1
0
 /// <inheritdoc />
 public override void Serialize(ref uint value)
 {
     value = NativeStream.ReadUInt32();
 }
コード例 #2
0
 /// <inheritdoc />
 public unsafe override void Serialize(ref float value)
 {
     fixed (float* valuePtr = &value)
         *((uint*)valuePtr) = NativeStream.ReadUInt32();
 }