Function Name
Pack
Call syntax
Formatstr = pack (packformat, list );
Explanation
Converts a list or array to a simple variable in the format used by programming languages such as the
refer to a set of function pack,unpack before looking at the following example. Any language with socket operation has a function dedicated to the package, PHP is no exception of course this set of functions is not just a package.Here's a quick
PHP data compression, encryption and decryption (pack, unpack), and data compression unpack
Data is frequently exchanged in network communication and file storage. To reduce network communication traffic, file storage size, and encrypted
Data is frequently exchanged in network communication and file storage. to reduce network communication traffic, file storage size, and encrypted communication rules, two-way encryption and decryption of data is often required to ensure data
Http://android-dls.com/wiki/index.php? Title = HOWTO: _ unpack % 2c_edit % 2c_and_re-pack_boot_imagesHowto: unpack, edit, and re-pack boot images
Several people have already figured out the details on their own, but I have gotten requests to do a
Data is frequently exchanged in network communication and file storage. To reduce network communication traffic, file storage size, and encrypted communication rules, two-way encryption and decryption of data is often required to ensure data
Pack and unpack are not really easy to see in normal programs, but if you use PHP from a long time ago to generate Excel you will know. The head of his Excel is the pack.
Recently, when I tried to interact with C, I used this thing again, so I had
Pack and unpack are not really easy to see in normal programs, but if you use PHP from a long time ago to generate Excel you will know. The head of his Excel is the pack.Recently, when I tried to interact with C, I used this thing again, so I had to
As we all know, Perl is very powerful in processing strings, and Perl (Practical Extraction and Reporting Language) is also very powerful in processing formats. Here we start to learn some Perl formats and string processing.
Familiar with the three
PHP read-write binary files can use the pack and unpack functions.
Today to deal with a problem with a binary file, so need to use, specifically to understand the use of the pack, unpack usage similar to this.
Simply put, the pack function is to
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.