# | Line 31 | Line 31 | Binary::Binary(const Type& type) : bytes | |
---|---|---|
31 | { | |
32 | byte_t* type_(reinterpret_cast<byte_t*>(const_cast<Type*>(&type))); | |
33 | ||
34 | < | _mforeach (ext::Vector<byte_t>, byte, bytes) *byte = *type_++; |
34 | > | _foreach (ext::Vector<byte_t>, byte, bytes) *byte = *type_++; |
35 | } | |
36 | ||
37 | template <typename Type> | |
# | Line 48 | Line 48 | Type Binary::convert(bool signed_) | |
48 | return type; | |
49 | } | |
50 | ||
51 | – | inline ios::PrintWriter& operator<<(ios::PrintWriter& out, const Binary& binary) |
52 | – | { |
53 | – | return out << binary.operator ext::String(); |
54 | – | } |
55 | – | |
51 | #endif // _Binary_hpp_ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |