ParagonIE_Sodium_Core32_BLAKE2b::SplFixedArrayToString() public WP 1.0
Convert an SplFixedArray of integers into a string
{} It's a method of the class: ParagonIE_Sodium_Core32_BLAKE2b{}
No Hooks.
Return
String
. Null. Nothing.
Usage
$result = ParagonIE_Sodium_Core32_BLAKE2b::SplFixedArrayToString( $a );
- $a(SplFixedarray) (required)
- -
Code of ParagonIE_Sodium_Core32_BLAKE2b::SplFixedArrayToString() ParagonIE Sodium Core32 BLAKE2b::SplFixedArrayToString WP 5.7
public static function SplFixedArrayToString(SplFixedArray $a)
{
/**
* @var array<int, string|int>
*/
$arr = $a->toArray();
$c = $a->count();
array_unshift($arr, str_repeat('C', $c));
return (string) (call_user_func_array('pack', $arr));
}