[#BloombergLP-bdldfp-DecimalConvertUtil_IntelDfp-decimal128FromDPD]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdldfp.adoc[bdldfp]::xref:BloombergLP/bdldfp/DecimalConvertUtil_IntelDfp.adoc[DecimalConvertUtil&lowbar;IntelDfp]::decimal128FromDPD
:relfileprefix: ../../../
:mrdocs:

Return the native value of the DPD encoding at `buffer`&period;

== Synopsis

Declared in `&lt;bdldfp&lowbar;decimalconvertutil&lowbar;inteldfp&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdldfp/Decimal128.adoc[Decimal128]
decimal128FromDPD(unsigned char const* buffer);
----

== Description

The behavior is undefined unless `buffer` points to a memory area at least `sizeof(Decimal128)` in size containing a value in DPD format&period;

== Return Value

native representation of the DPD value

== Parameters

[cols="1,4"]
|===
| Name| Description
| *buffer*
| buffer containing DPD&hyphen;encoded value
|===


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