Iterates over the IPBlocks and appends them to the destination stream.
Iterates over the IPBlocks and appends them to the destination stream.
Expects the IPBlocks in the Iterator to be in sorted order (numerically ascending). Throws NoSuchElementException//FIXME if they are not.
Expects all IPBlocks in the Iterator to be of the same size; that is, either all are IPv4Block or all are IPv6Block. Throws NoSuchElementException//FIXME if they are not.
This function may be called successfully multiple times as long as all IPBlocks have the same size and the IPBlocks across the various calls are in sorted order.
NoSuchElementException//FIXME if the IPBlock Iterator
contains a mix of IPv4 addresses and IPv6 addresses or the
IPBlocks are not in sorted order.
Closes the output stream.
Closes the output stream.
Writes the SiLK file header to the output stream if it has not been written, writes any buffered records, closes the output stream, and releases resources.
Whether any IPBlocks have been written to the stream--that is,
whether the append() method has been called with a non-emtpy
Iterator.
Whether any IPBlocks have been written to the stream--that is,
whether the append() method has been called with a non-emtpy
Iterator.
true once the append() method has been called
A writer of binary SiLK IPset files.
This example reads the contents of "example.set" and writes it to "copy.set":
the companion object for more details