Read bytes from the buffer
(buffer []byte, offset int, size int)
| 287 | |
| 288 | // Read bytes from the buffer |
| 289 | func ReadBytes(buffer []byte, offset int, size int) []byte { |
| 290 | return buffer[offset:offset + size] |
| 291 | } |
| 292 | |
| 293 | // Read string from the buffer |
| 294 | func ReadString(buffer []byte, offset int, size int) string { |
no outgoing calls
no test coverage detected