acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
_byte2_stream.h
1//
2// Created by camilo on 2025-08-31 17:22 <3ThomasBorregaardSorensen
3//
4#pragma once
5
6#include "acme/filesystem/file/byte2_stream.h"
7
8template < prototype_number NUMBER >
9inline byte2_stream & operator >> (byte2_stream & stream, size_type < NUMBER > &size)
10{
11
12 stream >> size.cx;
13 stream >> size.cy;
14
15 return stream;
16
17}
18
19
20template < prototype_number NUMBER >
21inline byte2_stream & operator << (byte2_stream & stream, const size_type < NUMBER > &size)
22{
23
24 stream << size.cx;
25 stream << size.cy;
26
27 return stream;
28
29}
30
31
32
Definition byte2_stream.h:25
Definition ___serialization_draft.h:42