[#BloombergLP-bslx-MarshallingUtil-putArrayInt16-02]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/MarshallingUtil.adoc[MarshallingUtil]::putArrayInt16
:relfileprefix: ../../../
:mrdocs:

`putArrayInt16` overloads

== Synopses

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

Load into the specified `buffer` the consecutive two&hyphen;byte, two&apos;s complement integers (in network byte order) comprised of the least&hyphen;significant two bytes of each of the specified `numValues` leading entries in the specified `values` (in host byte order)&period; The behavior is undefined unless `buffer` has sufficient capacity, `values` has sufficient contents, and `0 &lt;&equals; numValues`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bslx/MarshallingUtil/putArrayInt16-0e.adoc[putArrayInt16](
    char* buffer,
    short const* values,
    int numValues);
----

[.small]#xref:BloombergLP/bslx/MarshallingUtil/putArrayInt16-0e.adoc[_» more&period;&period;&period;_]#

Same as the preceding overload for `const unsigned short &ast;values`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
xref:BloombergLP/bslx/MarshallingUtil/putArrayInt16-0a.adoc[putArrayInt16](
    char* buffer,
    unsigned short const* values,
    int numValues);
----

[.small]#xref:BloombergLP/bslx/MarshallingUtil/putArrayInt16-0a.adoc[_» more&period;&period;&period;_]#


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