| 236 | } |
| 237 | |
| 238 | size_t CSimpleSocket::writeData(const uint8_t *data, size_t size) { |
| 239 | int32_t sz = Send(data, size); |
| 240 | |
| 241 | if (sz < 0) { |
| 242 | return 0; |
| 243 | } |
| 244 | |
| 245 | return sz; |
| 246 | } |
| 247 | |
| 248 | size_t CSimpleSocket::readData(uint8_t *data, size_t size) { |
| 249 | int32_t rz = Receive(size, data); |
nothing calls this directly
no outgoing calls
no test coverage detected