Class

FwupdPluginChunkArray

Description [src]

final class FwupdPlugin.ChunkArray : GObject.Object {
  /* No available fields */
}

Create chunked data with address and index as required.

NOTE: If you need a page size, either use fu_chunk_array_new() or use two FuChunkArrays — e.g. once to split to page size, and once to split to packet size.

Ancestors

  • GObject

Constructors

fu_chunk_array_new_from_bytes

Chunks a linear blob of memory into packets, ensuring each packet is less that a specific transfer size.

Available since: 1.9.6

Instance methods

fu_chunk_array_index

Gets the next chunk.

Available since: 1.9.6

fu_chunk_array_length

Gets the number of chunks.

Available since: 1.9.6

Class structure

struct FwupdPluginChunkArrayClass {
  GObjectClass parent_class;
  
}
Class members
parent_class
GObjectClass
  No description available.

Functions

fu_chunk_array_mutable_new

Chunks a mutable blob of memory into packets, ensuring each packet does not cross a package boundary and is less that a specific transfer size.

Available since: 1.5.6

fu_chunk_array_new

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.

Available since: 1.1.2

fu_chunk_array_to_string

Converts all the chunked packets in an array to a string representation.

Available since: 1.0.1