Server IP : 68.65.122.142  /  Your IP : 18.217.174.145
Web Server : LiteSpeed
System : Linux server167.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : glenirhm ( 1318)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/share/locale/scn/../ms/../hit/../afh/../ch/../nqo/../arp/../sam/../nb_NO/../frm/../lus/../ira/../phi/../ira/../da/../te/../an/../tkl/../nn/../bej/../za/../ab/../mn/../chy/../tt/../sa/../kw@kkcor/../sem/../rap/../pl/../lam/../../awk/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/share/locale/scn/../ms/../hit/../afh/../ch/../nqo/../arp/../sam/../nb_NO/../frm/../lus/../ira/../phi/../ira/../da/../te/../an/../tkl/../nn/../bej/../za/../ab/../mn/../chy/../tt/../sa/../kw@kkcor/../sem/../rap/../pl/../lam/../../awk/bits2str.awk
# bits2str --- turn an integer into readable ones and zeros

function bits2str(bits,        data, mask)
{
    if (bits == 0)
        return "0"

    mask = 1
    for (; bits != 0; bits = rshift(bits, 1))
        data = (and(bits, mask) ? "1" : "0") data

    while ((length(data) % 8) != 0)
        data = "0" data

    return data
}