[ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
Copyright (c) 2016 - 2022 Paragon Initiative Enterprises. Copyright (c) 2014 Steve "Sc00bz" Thomas (steve at tobtu dot com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
File Size: | 82 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
decode6Bits(int $src) X-Ref |
Uses bitwise operators instead of table-lookups to turn 6-bit integers into 8-bit integers. Base64 character set: [.-9] [A-Z] [a-z] 0x2e-0x39, 0x41-0x5a, 0x61-0x7a param: int $src return: int |
encode6Bits(int $src) X-Ref |
Uses bitwise operators instead of table-lookups to turn 8-bit integers into 6-bit integers. param: int $src return: string |