2019-05-08 03:50:21 +00:00
|
|
|
#include "GX.hpp"
|
|
|
|
|
|
|
|
namespace GX {
|
|
|
|
|
|
|
|
template <>
|
2019-09-14 14:53:08 +00:00
|
|
|
void Color::Enumerate<athena::io::DNA<athena::Endian::Big>::Read>(Read::StreamT& reader) {
|
2019-05-08 03:50:21 +00:00
|
|
|
reader.readUBytesToBuf(&num, 4);
|
|
|
|
}
|
|
|
|
template <>
|
2019-09-14 14:53:08 +00:00
|
|
|
void Color::Enumerate<athena::io::DNA<athena::Endian::Big>::Write>(Write::StreamT& writer) {
|
2019-05-08 03:50:21 +00:00
|
|
|
writer.writeUBytes(reinterpret_cast<const atUint8*>(&num), 4);
|
|
|
|
}
|
|
|
|
template <>
|
2019-09-14 14:53:08 +00:00
|
|
|
void Color::Enumerate<athena::io::DNA<athena::Endian::Big>::BinarySize>(BinarySize::StreamT& s) {
|
2019-05-08 03:50:21 +00:00
|
|
|
s += 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|