Flags

Example

import Flags from 'driptool/flags';

let table = {
  'PSH': 0x8,
  'RST': 0x4,
  'SYN': 0x2,
  'FIN': 0x1,
};

let flags = new Flags(table, 0x2 | 0x1);

Methods

constructor(table,value)

  • table Object
  • value Integer

get(name)

  • Returns: Boolean

toString()

  • Returns: String

results matching ""

    No results matching ""