--- layout: stdlib-reference --- # packInt4x8Clamp ## Description Pack a vector of 4 signed 32/16 bit integers into a packed value of 4 8-bit integers, clamping each value to the range [-128, 127] to ensure it fits within 8 bits. ## Signature
uint packInt4x8Clamp(vector<int, 4> unpackedValue); uint packInt4x8Clamp(vector<int16_t, 4> unpackedValue);## Parameters #### unpackedValue : [vector](../types/vector/index.html)\