[#BloombergLP-bslx-InStreamFunctions-InStreamFunctions_AccessorHelper-getArray-04]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/InStreamFunctions.adoc[InStreamFunctions]::xref:BloombergLP/bslx/InStreamFunctions/InStreamFunctions_AccessorHelper.adoc[InStreamFunctions&lowbar;AccessorHelper]::getArray
:relfileprefix: ../../../../
:mrdocs:

`getArray` overloads

== Synopses

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

Assign a `bsl&colon;&colon;vector` value read from `stream` to `variable`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class VALUE&lowbar;TYPE,
    class ALLOC&gt;
static
STREAM&
xref:BloombergLP/bslx/InStreamFunctions/InStreamFunctions_AccessorHelper/getArray-03.adoc[getArray](
    STREAM& stream,
    xref:bsl/vector-00d.adoc[bsl::vector&lt;VALUE&lowbar;TYPE, ALLOC&gt;]& variable);
----

[.small]#xref:BloombergLP/bslx/InStreamFunctions/InStreamFunctions_AccessorHelper/getArray-03.adoc[_» more&period;&period;&period;_]#

Load `length` `bsls&colon;&colon;Types&colon;&colon;Int64` values from `stream` into `result`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
STREAM&
xref:BloombergLP/bslx/InStreamFunctions/InStreamFunctions_AccessorHelper/getArray-01c.adoc[getArray](
    STREAM& stream,
    xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64]* result,
    int length);
----

[.small]#xref:BloombergLP/bslx/InStreamFunctions/InStreamFunctions_AccessorHelper/getArray-01c.adoc[_» more&period;&period;&period;_]#

Load `length` `bsls&colon;&colon;Types&colon;&colon;Uint64` values from `stream` into `result`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
STREAM&
xref:BloombergLP/bslx/InStreamFunctions/InStreamFunctions_AccessorHelper/getArray-015.adoc[getArray](
    STREAM& stream,
    xref:BloombergLP/bsls/Types/Uint64.adoc[bsls::Types::Uint64]* result,
    int length);
----

[.small]#xref:BloombergLP/bslx/InStreamFunctions/InStreamFunctions_AccessorHelper/getArray-015.adoc[_» more&period;&period;&period;_]#

Load `length` `bool` values from `stream` into `result`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
STREAM&
xref:BloombergLP/bslx/InStreamFunctions/InStreamFunctions_AccessorHelper/getArray-00c.adoc[getArray](
    STREAM& stream,
    bool* result,
    int length);
----

[.small]#xref:BloombergLP/bslx/InStreamFunctions/InStreamFunctions_AccessorHelper/getArray-00c.adoc[_» more&period;&period;&period;_]#

Load `length` `char` values from `stream` into `result`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
STREAM&
xref:BloombergLP/bslx/InStreamFunctions/InStreamFunctions_AccessorHelper/getArray-005.adoc[getArray](
    STREAM& stream,
    char* result,
    int length);
----

[.small]#xref:BloombergLP/bslx/InStreamFunctions/InStreamFunctions_AccessorHelper/getArray-005.adoc[_» more&period;&period;&period;_]#

Load `length` `double` values from `stream` into `result`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
STREAM&
xref:BloombergLP/bslx/InStreamFunctions/InStreamFunctions_AccessorHelper/getArray-0bcb.adoc[getArray](
    STREAM& stream,
    double* result,
    int length);
----

[.small]#xref:BloombergLP/bslx/InStreamFunctions/InStreamFunctions_AccessorHelper/getArray-0bcb.adoc[_» more&period;&period;&period;_]#

Load `length` `float` values from `stream` into `result`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
STREAM&
xref:BloombergLP/bslx/InStreamFunctions/InStreamFunctions_AccessorHelper/getArray-0a.adoc[getArray](
    STREAM& stream,
    float* result,
    int length);
----

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

Load `length` `int` values from `stream` into `result`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
STREAM&
xref:BloombergLP/bslx/InStreamFunctions/InStreamFunctions_AccessorHelper/getArray-0ba.adoc[getArray](
    STREAM& stream,
    int* result,
    int length);
----

[.small]#xref:BloombergLP/bslx/InStreamFunctions/InStreamFunctions_AccessorHelper/getArray-0ba.adoc[_» more&period;&period;&period;_]#

Load `length` `short` values from `stream` into `result`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
STREAM&
xref:BloombergLP/bslx/InStreamFunctions/InStreamFunctions_AccessorHelper/getArray-0b5.adoc[getArray](
    STREAM& stream,
    short* result,
    int length);
----

[.small]#xref:BloombergLP/bslx/InStreamFunctions/InStreamFunctions_AccessorHelper/getArray-0b5.adoc[_» more&period;&period;&period;_]#

Load `length` `signed char` values from `stream` into `result`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
STREAM&
xref:BloombergLP/bslx/InStreamFunctions/InStreamFunctions_AccessorHelper/getArray-052.adoc[getArray](
    STREAM& stream,
    signed char* result,
    int length);
----

[.small]#xref:BloombergLP/bslx/InStreamFunctions/InStreamFunctions_AccessorHelper/getArray-052.adoc[_» more&period;&period;&period;_]#

Load `length` `unsigned char` values from `stream` into `result`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
STREAM&
xref:BloombergLP/bslx/InStreamFunctions/InStreamFunctions_AccessorHelper/getArray-0bc6.adoc[getArray](
    STREAM& stream,
    unsigned char* result,
    int length);
----

[.small]#xref:BloombergLP/bslx/InStreamFunctions/InStreamFunctions_AccessorHelper/getArray-0bc6.adoc[_» more&period;&period;&period;_]#

Load `length` `unsigned int` values from `stream` into `result`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
STREAM&
xref:BloombergLP/bslx/InStreamFunctions/InStreamFunctions_AccessorHelper/getArray-05f.adoc[getArray](
    STREAM& stream,
    unsigned int* result,
    int length);
----

[.small]#xref:BloombergLP/bslx/InStreamFunctions/InStreamFunctions_AccessorHelper/getArray-05f.adoc[_» more&period;&period;&period;_]#

Load `length` `unsigned short` values from `stream` into `result`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
STREAM&
xref:BloombergLP/bslx/InStreamFunctions/InStreamFunctions_AccessorHelper/getArray-0c.adoc[getArray](
    STREAM& stream,
    unsigned short* result,
    int length);
----

[.small]#xref:BloombergLP/bslx/InStreamFunctions/InStreamFunctions_AccessorHelper/getArray-0c.adoc[_» more&period;&period;&period;_]#

== Return Value

a reference to `stream`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *stream*
| input stream from which to read
| *variable*
| vector to receive the unexternalized values
| *result*
| array to receive the unexternalized values
| *length*
| number of values to read into `result`
|===


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