(buffer, start, count)
| 8 | bytesRead = len(data) |
| 9 | |
| 10 | def bufferToHex(buffer, start, count): |
| 11 | accumulator = '' |
| 12 | for item in range(count): |
| 13 | accumulator += '%02X' % buffer[start + item] + ' ' |
| 14 | return accumulator |
| 15 | |
| 16 | def bufferToAscii(buffer, start, count): |
| 17 | accumulator = '' |