[#BloombergLP-bdlc-PackedIntArrayImp_Unsigned] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::PackedIntArrayImp_Unsigned :relfileprefix: ../../ :mrdocs: Namespace for unsigned‐integer packing types and BDEX helpers. == Synopsis Declared in `<bdlc_packedintarray.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct PackedIntArrayImp_Unsigned; ---- == Description This `struct` provides a namespace for types and methods used to implement a space‐efficient value‐semantic array class representing a sequence of `TYPE` elements; `TYPE` must be convertible to either a `bsl::uint64_t`. Specifically, it defines the types used to store the array's data, methods needed to externalize and unexternalize the array, and a method to determine the storage size to use for a given value. == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlc/PackedIntArrayImp_Unsigned/EightByteStorageType.adoc[`EightByteStorageType`] | Storage type for eight‐byte unsigned packed elements. | xref:BloombergLP/bdlc/PackedIntArrayImp_Unsigned/FourByteStorageType.adoc[`FourByteStorageType`] | Storage type for four‐byte unsigned packed elements. | xref:BloombergLP/bdlc/PackedIntArrayImp_Unsigned/OneByteStorageType.adoc[`OneByteStorageType`] | Storage type for one‐byte unsigned packed elements. | xref:BloombergLP/bdlc/PackedIntArrayImp_Unsigned/TwoByteStorageType.adoc[`TwoByteStorageType`] | Storage type for two‐byte unsigned packed elements. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlc/PackedIntArrayImp_Unsigned/bdexGet16.adoc[`bdexGet16`] | Read a 16‐bit unsigned integer from `stream` into `variable`. | xref:BloombergLP/bdlc/PackedIntArrayImp_Unsigned/bdexGet32.adoc[`bdexGet32`] | Read a 32‐bit unsigned integer from `stream` into `variable`. | xref:BloombergLP/bdlc/PackedIntArrayImp_Unsigned/bdexGet64.adoc[`bdexGet64`] | Read a 64‐bit unsigned integer from `stream`. | xref:BloombergLP/bdlc/PackedIntArrayImp_Unsigned/bdexGet8.adoc[`bdexGet8`] | Read an 8‐bit unsigned integer from `stream` into `variable`. | xref:BloombergLP/bdlc/PackedIntArrayImp_Unsigned/bdexPut16.adoc[`bdexPut16`] | Write `value` to `stream` as a 16‐bit unsigned integer. | xref:BloombergLP/bdlc/PackedIntArrayImp_Unsigned/bdexPut32.adoc[`bdexPut32`] | Write a 32‐bit unsigned integer `value` to `stream`. | xref:BloombergLP/bdlc/PackedIntArrayImp_Unsigned/bdexPut64.adoc[`bdexPut64`] | Write a 64‐bit unsigned integer `value` to `stream`. | xref:BloombergLP/bdlc/PackedIntArrayImp_Unsigned/bdexPut8.adoc[`bdexPut8`] | Write an 8‐bit unsigned integer `value` to `stream`. | xref:BloombergLP/bdlc/PackedIntArrayImp_Unsigned/requiredBytesPerElement.adoc[`requiredBytesPerElement`] | Return the required number of bytes to store the specified `value`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#