eCosPro® Reference Manual
Prev |  | Next

# netbuf_copy_partial()

## Name

netbuf_copy_partial() -- Copy some netbuf data to memory pointer

## Synopsis

``void netbuf_copy_partial`(struct netbuf *buf, void *data, u16_t len, u16_t offset);`

## Description

This function is similar to `netbuf_copy()` except that it takes an extra parameter, offset, which can be used to set an offset from the start of the packet to start copying the len bytes.

Prev | Home | Next
netbuf_copy() | Up | netbuf_chain()