[#WriteLE32]
= WriteLE32
:mrdocs:

Write a 32&hyphen;bit integer to a byte buffer in little&hyphen;endian order&period;

== Synopsis

Declared in `&lt;crypto&sol;common&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;xref:ByteType.adoc[ByteType] B&gt;
void
WriteLE32(
    B* ptr,
    uint32&lowbar;t x);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ptr*
| Pointer to at least 4 writable bytes&period;
| *x*
| The host&hyphen;order value to store&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
