[#BloombergLP-bslx-MarshallingUtil-getInt8-0f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/MarshallingUtil.adoc[MarshallingUtil]::getInt8
:relfileprefix: ../../../
:mrdocs:

Load the one&hyphen;byte integer from the specified `buffer` into the specified `variable`&period;

== Synopsis

Declared in `&lt;bslx&lowbar;marshallingutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
getInt8(
    char* variable,
    char const* buffer);
----

== Description

Load into the specified `variable` the one&hyphen;byte, two&apos;s complement integer comprised of the initial one byte of the specified `buffer`&period; The behavior is undefined unless `buffer` has sufficient contents&period;


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