Function gpa::serialization::GetSize

Function Documentation

size_t gpa::serialization::GetSize(BasicType type)

Return the storage requirements for the given BasicType.

Parameters

type -- BasicType containing the type to be sized.

Returns

Number of bytes required for the type, or zero if the type is either kUndefined or kUserDefined.