Source Code : Format characters for pack( ) and unpack( )

PHP Is Open Source Programming Language You Can Download and use It, You required xampp server and wamp server . You download From xampp server from https://www.apachefriends.org/download.html. Click Here to download
We provide this code related to title for you to solve your developing problem easily. Libraries which is import in this program you can download from http://php.net/. Click Here or search from google with Libraries Name you get jar file related it and also http://php.net/ is a official site

Format characters for pack( ) and unpack( )

 
Format character    Data type
a                   NUL-padded string
A                   Space-padded string
h                   Hex string, low nibble first
H                   Hex string, high nibble first
c                   signed char
C                   unsigned char
s                   signed short
S                   unsigned short
n                   unsigned short
v                   unsigned short
i                   signed int (machine-dependent size and byte order)
I                   unsigned int (machine-dependent size and byte order)
l                   signed long (32 bit, machine byte order)
L                   unsigned long (32 bit, machine byte order)
N                   unsigned long (32 bit, big endian byte order)
V                   unsigned long (32 bit, little endian byte order)
f                   float (machine-dependent size and representation)
d                   double (machine-dependent size and representation)
x                   NUL byte
X                   Back up one byte
@                   NUL-fill to absolute position
  
  

Thank with us