Write unsigned 32-bits integer into the buffer
(buffer []byte, offset int, value uint32)
| 363 | |
| 364 | // Write unsigned 32-bits integer into the buffer |
| 365 | func WriteUInt32(buffer []byte, offset int, value uint32) { |
| 366 | buffer[offset + 0] = byte(value >> 0) |
| 367 | buffer[offset + 1] = byte(value >> 8) |
| 368 | buffer[offset + 2] = byte(value >> 16) |
| 369 | buffer[offset + 3] = byte(value >> 24) |
| 370 | } |
| 371 | |
| 372 | // Write signed 64-bits integer into the buffer |
| 373 | func WriteInt64(buffer []byte, offset int, value int64) { |
no outgoing calls
no test coverage detected