Changeset 11 in libcf++ for trunk/include/cf/bin.h
- Timestamp:
- 06/08/15 21:27:49 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/cf/bin.h
r7 r11 11 11 12 12 #include <vector> 13 #include <string> 13 14 #include <stdio.h> 14 15 … … 38 39 * @param in asciiz-byte 39 40 */ 40 bin(const cf::char_t *in);41 bin(const std::string & in); 41 42 42 43 /** … … 116 117 117 118 /** 118 * set 119 * set 119 120 * @param in bin 120 121 */ 121 122 bin & operator =(const bin & in); 123 124 /** 125 * set 126 * @param in string 127 */ 128 bin & operator =(const std::string & in); 122 129 123 130 /** … … 151 158 152 159 /** 160 * get a byte 161 * @return a byte 162 * @param index index 163 */ 164 cf::uint8_t operator [](const cf::size_t index) const; 165 166 /** 167 * get as string 168 * @return string 169 */ 170 std::string toString() const; 171 172 /** 153 173 * dump binary to file-pointer 154 174 * @param prefix prefix for output
Note:
See TracChangeset
for help on using the changeset viewer.