Read unsigned 8-bits integer from the buffer
(buffer []byte, offset int)
| 220 | |
| 221 | // Read unsigned 8-bits integer from the buffer |
| 222 | func ReadUInt8(buffer []byte, offset int) uint8 { |
| 223 | return uint8(buffer[offset]) |
| 224 | } |
| 225 | |
| 226 | // Read signed 16-bits integer from the buffer |
| 227 | func ReadInt16(buffer []byte, offset int) int16 { |