示例#1
0
bool Serializer::WriteVector4(const Vector4& value)
{
    return Write(value.Data(), sizeof value) == sizeof value;
}
示例#2
0
Vector4 Deserializer::ReadVector4()
{
    Vector4 ret;
    Read((void*)ret.Data(), sizeof ret);
    return ret;
}