[#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;`

Store consecutive two&hyphen;byte integers into the specified `buffer`&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;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *buffer*
| destination buffer in network byte order
| *values*
| array of host&hyphen;order two&hyphen;byte integers to write
| *numValues*
| number of values to write
|===


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