| Top |  |  |  |  | 
| FuChunk * | fu_chunk_new () | 
| gchar * | fu_chunk_to_string () | 
| gchar * | fu_chunk_array_to_string () | 
| GPtrArray * | fu_chunk_array_new () | 
| GPtrArray * | fu_chunk_array_new_from_bytes () | 
FuChunk * fu_chunk_new (guint32 idx,guint32 page,guint32 address,const guint8 *data,guint32 data_sz);
Creates a new packet of chunked data.
gchar *
fu_chunk_to_string (FuChunk *item);
Converts the chunked packet to a string representation.
gchar *
fu_chunk_array_to_string (GPtrArray *chunks);
Converts all the chunked packets in an array to a string representation.
GPtrArray * fu_chunk_array_new (const guint8 *data,guint32 data_sz,guint32 addr_start,guint32 page_sz,guint32 packet_sz);
Chunks a linear blob of memory into packets, ensuring each packet does not cross a package boundary and is less that a specific transfer size.
| data | a linear blob of memory, or  | |
| data_sz | size of  | |
| addr_start | the hardware address offset, or 0 | |
| page_sz | the hardware page size, or 0 | |
| packet_sz | the transfer size, or 0 | 
GPtrArray * fu_chunk_array_new_from_bytes (GBytes *blob,guint32 addr_start,guint32 page_sz,guint32 packet_sz);
Chunks a linear blob of memory into packets, ensuring each packet does not cross a package boundary and is less that a specific transfer size.
| blob | a GBytes | |
| addr_start | the hardware address offset, or 0 | |
| page_sz | the hardware page size, or 0 | |
| packet_sz | the transfer size, or 0 |