bool Serializer::WriteColor(const Color& value) { return Write(value.Data(), sizeof value) == sizeof value; }
Color Deserializer::ReadColor() { Color ret; Read((void*)ret.Data(), sizeof ret); return ret; }