source: node_modules/ip-address/dist/common.d.ts@ 62b2964

finki-main main
Last change on this file since 62b2964 was 81bc7da, checked in by Klimentina Efremova <klimentina08642@…>, 3 months ago

Initial commit

  • Property mode set to 100644
File size: 737 bytes
Line 
1import { Address4 } from './ipv4';
2import { Address6 } from './ipv6';
3export interface ReverseFormOptions {
4 omitSuffix?: boolean;
5}
6export declare function isInSubnet(this: Address4 | Address6, address: Address4 | Address6): boolean;
7export declare function isCorrect(defaultBits: number): (this: Address4 | Address6) => boolean;
8export declare function numberToPaddedHex(number: number): string;
9export declare function stringToPaddedHex(numberString: string): string;
10/**
11 * @param binaryValue Binary representation of a value (e.g. `10`)
12 * @param position Byte position, where 0 is the least significant bit
13 */
14export declare function testBit(binaryValue: string, position: number): boolean;
15//# sourceMappingURL=common.d.ts.map
Note: See TracBrowser for help on using the repository browser.