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::int64_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.
Synopsis
Declared in <bdlc_packedintarray.h>
struct PackedIntArrayImp_Signed;
Type Aliases
Name |
Description |
Storage type for eight‐byte signed packed elements. |
|
Storage type for four‐byte signed packed elements. |
|
Storage type for one‐byte signed packed elements. |
|
Storage type for two‐byte signed packed elements. |
Static Member Functions
Name |
Description |
Read from the specified |
|
Read from the specified |
|
Read from the specified |
|
Read from the specified |
|
Write to the specified |
|
Write to the specified |
|
Write to the specified |
|
Write to the specified |
|
Return the required number of bytes to store the specified |
Created with MrDocs