![]() |
fpmas 1.5
|
#include <enums.h>
Static Public Member Functions | |
| template<typename PackType > | |
| static std::size_t | size (const PackType &p) |
| template<typename PackType > | |
| static std::size_t | size (const PackType &p, const synchro::hard::api::Color &) |
| template<typename PackType > | |
| static void | to_datapack (PackType &pack, const synchro::hard::api::Color &color) |
| template<typename PackType > | |
| static synchro::hard::api::Color | from_datapack (const PackType &pack) |
Color base_io specialization.
|
inlinestatic |
Returns the buffer size, in bytes, required to serialize a Color instance in p, i.e. p.size<int>().
|
inlinestatic |
Equivalent to size().
|
inlinestatic |
Writes color to the pack buffer.
| pack | destination BasicObjectPack |
| color | Color to serialize |
|
inlinestatic |