/// <inheritdoc/> public override void Serialize(ref double obj, ArchiveMode mode, SerializationStream stream) { stream.Serialize(ref obj); }
public override void Serialize(ref ParameterCollection parameterCollection, ArchiveMode mode, SerializationStream stream) { stream.Serialize(ref parameterCollection.parameterKeyInfos, mode); stream.SerializeExtended(ref parameterCollection.ObjectValues, mode); stream.Serialize(ref parameterCollection.DataValues, mode); }
public override unsafe void Serialize(ref Face face, ArchiveMode mode, SerializationStream stream) { fixed(Face *facePtr = &face) stream.Serialize((IntPtr)facePtr, sizeof(Face)); }
public override unsafe void Serialize(ref Tetrahedron tetrahedron, ArchiveMode mode, SerializationStream stream) { fixed(Tetrahedron *tetrahedronPtr = &tetrahedron) stream.Serialize((IntPtr)tetrahedronPtr, sizeof(Tetrahedron)); }
public override void Serialize(ref Header obj, ArchiveMode mode, SerializationStream stream) { stream.Serialize(ref obj.MagicHeader); stream.Serialize(ref obj.Size); stream.Serialize(ref obj.Crc); }
/// <inheritdoc/> public override void Serialize(ref byte[] obj, ArchiveMode mode, SerializationStream stream) { stream.Serialize(obj, 0, obj.Length); }