mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-09 07:45:00 -04:00
Adjusted strToIpv6 example #2
This commit is contained in:
parent
1327a476b9
commit
7af7b4df5e
1 changed files with 2 additions and 2 deletions
|
@ -346,8 +346,8 @@ export function ipv4ToStr(ipInt) {
|
|||
* // returns [65280, 0, 0, 0, 0, 0, 4369, 8738]
|
||||
* strToIpv6("ff00::1111:2222");
|
||||
*
|
||||
* // returns 126946n
|
||||
* strToIpv6("1:f000", false);
|
||||
* // returns 3.3895313892515355e+38
|
||||
* strToIpv6("ff00::1111:2222", false);
|
||||
*/
|
||||
export function strToIpv6(ipStr, retArr=true) {
|
||||
if (retArr === false) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue