public virtual bool SerializeHeader(ResourceSerializer serializer) { return(serializer.SerializeWORD(ref wLength) && serializer.SerializeWORD(ref wValueLength) && serializer.SerializeWORD(ref wType) && serializer.SerializeWCHAR(ref szKey) && serializer.PadDWORD()); }
public virtual bool SerializeHeader(ResourceSerializer serializer) { return serializer.SerializeWORD(ref wLength) && serializer.SerializeWORD(ref wValueLength) && serializer.SerializeWORD(ref wType) && serializer.SerializeWCHAR(ref szKey) && serializer.PadDWORD(); }
public override bool SerializeValue(ResourceSerializer serializer) { return serializer.SerializeWCHAR(ref Value, ref wValueLength) && serializer.PadDWORD(); }
public override bool SerializeValue(ResourceSerializer serializer) { return(serializer.SerializeLength(s => s.Serialize(ref Value), ref wValueLength) && serializer.PadDWORD()); }