[#BloombergLP-bslx-ByteOutStream-putInt40] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/ByteOutStream.adoc[ByteOutStream]::putInt40 :relfileprefix: ../../../ :mrdocs: Write a five‐byte signed integer to this stream. == Synopsis Declared in `<bslx_byteoutstream.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslx/ByteOutStream.adoc[ByteOutStream]& putInt40(xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64] value); ---- == Description Write to this stream 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]#