[#BloombergLP-bslx-GenericOutStream-putInt40] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/GenericOutStream.adoc[GenericOutStream]::putInt40 :relfileprefix: ../../../ :mrdocs: Write a five‐byte signed integer to this stream. == Synopsis Declared in `<bslx_genericoutstream.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslx/GenericOutStream.adoc[GenericOutStream<STREAMBUF>]& putInt40(xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64] value); ---- == Description Write to the stream supplied at construction the five‐byte, two's complement integer (in network byte order) comprised of the least‐significant five bytes of the specified `value` (in host byte order), and return a reference to this stream. If this stream is initially invalid, this operation has no effect. == Return Value a reference to this stream == Parameters [cols="1,4"] |=== | Name| Description | *value* | signed integer to write |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#