mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 15:27:05 +00:00
Update ip-tests.ts
This commit is contained in:
@@ -20,3 +20,7 @@ ip.toString(buff);
|
||||
ip.subnet('192.168.1.134', '255.255.255.192');
|
||||
ip.cidrSubnet('192.168.1.134/26');
|
||||
ip.cidrSubnet('192.168.1.134/26').contains('192.168.1.134');
|
||||
var buf = new Buffer(128);
|
||||
var offset = 64;
|
||||
ip.toBuffer('127.0.0.1', buf, offset);
|
||||
ip.toString(buf, offset, 4);
|
||||
|
||||
Reference in New Issue
Block a user