Post

Replies

Boosts

Views

Activity

An alternative Swift method to PHP `pack()` method
Hello everyone I am looking for an alternative Swift method to PHP pack()  method to return the same value for this code line echo pack('H*', sprintf("%02X",1)); Based on w3schools echo base64_encode(pack('H*', sprintf("%02X",1))); prints AQ== and echo base64_encode(sprintf("%02X",1)); prints MDE=
Replies
5
Boosts
0
Views
1.5k
Activity
Nov ’21