Lines Matching refs:uint8_t
23 void Stream::putByte(uint8_t value) { in putByte()
27 uint8_t Stream::getByte() { in getByte()
28 uint8_t value[1] = { 0 }; in getByte()
34 uint8_t b[2] = { (uint8_t)(value >> 8), (uint8_t)value }; in putBe16()
39 uint8_t b[2] = { 0, 0 }; in getBe16()
45 uint8_t b[4] = { in putBe32()
46 (uint8_t)(value >> 24), in putBe32()
47 (uint8_t)(value >> 16), in putBe32()
48 (uint8_t)(value >> 8), in putBe32()
49 (uint8_t)value }; in putBe32()
54 uint8_t b[4] = { 0, 0, 0, 0 }; in getBe32()
63 uint8_t b[8] = { in putBe64()
64 (uint8_t)(value >> 56), in putBe64()
65 (uint8_t)(value >> 48), in putBe64()
66 (uint8_t)(value >> 40), in putBe64()
67 (uint8_t)(value >> 32), in putBe64()
68 (uint8_t)(value >> 24), in putBe64()
69 (uint8_t)(value >> 16), in putBe64()
70 (uint8_t)(value >> 8), in putBe64()
71 (uint8_t)value }; in putBe64()
76 uint8_t b[8] = { 0, 0, 0, 0, 0, 0, 0, 0 }; in getBe64()
91 uint8_t bytes[sizeof(float)]; in putFloat()
100 uint8_t bytes[sizeof(float)]; in getFloat()
150 auto byte = uint8_t(num & 0x7f); in putPackedNum()
161 uint8_t byte; in getPackedNum()
190 void Stream::toByte(uint8_t*) { } // no conversion in toByte() argument
192 void Stream::toBe16(uint8_t* v) { in toBe16()
195 uint8_t b[2] = { (uint8_t)(value >> 8), (uint8_t)value }; in toBe16()
199 void Stream::toBe32(uint8_t* v) { in toBe32()
202 uint8_t b[4] = { in toBe32()
203 (uint8_t)(value >> 24), in toBe32()
204 (uint8_t)(value >> 16), in toBe32()
205 (uint8_t)(value >> 8), in toBe32()
206 (uint8_t)value }; in toBe32()
210 void Stream::toBe64(uint8_t* v) { in toBe64()
213 uint8_t b[8] = { in toBe64()
214 (uint8_t)(value >> 56), in toBe64()
215 (uint8_t)(value >> 48), in toBe64()
216 (uint8_t)(value >> 40), in toBe64()
217 (uint8_t)(value >> 32), in toBe64()
218 (uint8_t)(value >> 24), in toBe64()
219 (uint8_t)(value >> 16), in toBe64()
220 (uint8_t)(value >> 8), in toBe64()
221 (uint8_t)value }; in toBe64()
225 void Stream::fromByte(uint8_t*) { } // no conversion in fromByte() argument
227 void Stream::fromBe16(uint8_t* v) { in fromBe16()
228 uint8_t b[2]; in fromBe16()
234 void Stream::fromBe32(uint8_t* v) { in fromBe32()
235 uint8_t b[4]; in fromBe32()
245 void Stream::fromBe64(uint8_t* v) { in fromBe64()
246 uint8_t b[8]; in fromBe64()