[#BloombergLP-balber-BerUtil_PutValueImpUtil-putValue-0b5]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerUtil_PutValueImpUtil.adoc[BerUtil&lowbar;PutValueImpUtil]::putValue
:relfileprefix: ../../../
:mrdocs:

`putValue` overloads

== Synopses

Declared in `&lt;balber&lowbar;berutil&period;h&gt;`

Component&hyphen;private BER utility operation&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0c.adoc[putValue](
    std::streambuf* streamBuf,
    xref:BloombergLP/bdldfp/Decimal64.adoc[bdldfp::Decimal64] value,
    xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options);
----

[.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0c.adoc[_» more&period;&period;&period;_]#

Component&hyphen;private BER utility operation&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-09.adoc[putValue](
    std::streambuf* streamBuf,
    bool value,
    xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options);
----

[.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-09.adoc[_» more&period;&period;&period;_]#

Component&hyphen;private BER utility operation&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-02.adoc[putValue](
    std::streambuf* streamBuf,
    char value,
    xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options);
----

[.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-02.adoc[_» more&period;&period;&period;_]#

Component&hyphen;private BER utility operation&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-04.adoc[putValue](
    std::streambuf* streamBuf,
    double value,
    xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options);
----

[.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-04.adoc[_» more&period;&period;&period;_]#

Component&hyphen;private BER utility operation&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-00.adoc[putValue](
    std::streambuf* streamBuf,
    float value,
    xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options);
----

[.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-00.adoc[_» more&period;&period;&period;_]#

Component&hyphen;private BER utility operation&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-05a.adoc[putValue](
    std::streambuf* streamBuf,
    signed char value,
    xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options);
----

[.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-05a.adoc[_» more&period;&period;&period;_]#

Component&hyphen;private BER utility operation&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-01.adoc[putValue](
    std::streambuf* streamBuf,
    unsigned char value,
    xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options);
----

[.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-01.adoc[_» more&period;&period;&period;_]#

Component&hyphen;private BER utility operation&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0b4.adoc[putValue](
    std::streambuf* streamBuf,
    xref:BloombergLP/bdlt/Date.adoc[bdlt::Date] const& value,
    xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options);
----

[.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0b4.adoc[_» more&period;&period;&period;_]#

Component&hyphen;private BER utility operation&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0d.adoc[putValue](
    std::streambuf* streamBuf,
    xref:BloombergLP/bdlt/DateTz.adoc[bdlt::DateTz] const& value,
    xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options);
----

[.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0d.adoc[_» more&period;&period;&period;_]#

Component&hyphen;private BER utility operation&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0a.adoc[putValue](
    std::streambuf* streamBuf,
    xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime] const& value,
    xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options);
----

[.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0a.adoc[_» more&period;&period;&period;_]#

Component&hyphen;private BER utility operation&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0f.adoc[putValue](
    std::streambuf* streamBuf,
    xref:BloombergLP/bdlt/DatetimeTz.adoc[bdlt::DatetimeTz] const& value,
    xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options);
----

[.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0f.adoc[_» more&period;&period;&period;_]#

Component&hyphen;private BER utility operation&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-078.adoc[putValue](
    std::streambuf* streamBuf,
    xref:BloombergLP/bslstl/StringRef.adoc[bslstl::StringRef] const& value,
    xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options);
----

[.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-078.adoc[_» more&period;&period;&period;_]#

Component&hyphen;private BER utility operation&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-052.adoc[putValue](
    std::streambuf* streamBuf,
    xref:BloombergLP/bdlt/Time.adoc[bdlt::Time] const& value,
    xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options);
----

[.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-052.adoc[_» more&period;&period;&period;_]#

Component&hyphen;private BER utility operation&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-08.adoc[putValue](
    std::streambuf* streamBuf,
    xref:BloombergLP/bdlt/TimeTz.adoc[bdlt::TimeTz] const& value,
    xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options);
----

[.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-08.adoc[_» more&period;&period;&period;_]#

Component&hyphen;private BER utility operation&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0ec.adoc[putValue](
    std::streambuf* streamBuf,
    xref:bsl/string.adoc[bsl::string] const& value,
    xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options);
----

[.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0ec.adoc[_» more&period;&period;&period;_]#

Component&hyphen;private BER utility operation&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-073.adoc[putValue](
    std::streambuf* streamBuf,
    std::string&lowbar;view const& value,
    xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options);
----

[.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-073.adoc[_» more&period;&period;&period;_]#

Encode the specified `value` to the specified `streamBuf`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename TYPE&gt;
static
int
xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0e5.adoc[putValue](
    std::streambuf* streamBuf,
    TYPE const& value,
    xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options);
----

[.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0e5.adoc[_» more&period;&period;&period;_]#

== Return Value

0 on success, and a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *streamBuf*
| output stream buffer
| *value*
| value to encode
| *options*
| encoder options (0 for defaults)
|===


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