Function

FwupdPluginmemwrite_uint64

since: 1.8.2

Declaration [src]

void
fu_memwrite_uint64 (
  guint8* buf,
  guint64 val_native,
  FuEndianType endian
)

Description [src]

Writes a value to a buffer using a specified endian.

Available since: 1.8.2

Parameters

buf

Type: guint8*

A writable buffer.

The data is owned by the caller of the function.
val_native

Type: guint64

A value in host byte-order.

endian

Type: FuEndianType

An endian type, e.g. G_LITTLE_ENDIAN.