Enum

Example

import Enum from 'driptool/enum';

let table = {
  0x0800: 'IPv4',
  0x86DD: 'IPv6'
};

let enum = new Enum(table, 0x0800);

Methods

constructor(table,value)

  • table Object
  • value Integer

toString()

  • Returns: String

results matching ""

    No results matching ""