[#AmountCompression]
= AmountCompression
:mrdocs:

Serialization wrapper that stores amounts using the compact amount encoding&period;

== Synopsis

Declared in `&lt;compressor&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct AmountCompression;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:AmountCompression/Ser.adoc[`Ser`] 
| Serializes an amount to the stream in compressed form&period;
| xref:AmountCompression/Unser.adoc[`Unser`] 
| Deserializes a compressed amount from the stream&period;
|===



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