Class BinaryBGPDumpFileParser


  • public final class BinaryBGPDumpFileParser
    extends Object
    This extracter extracts BGP messages in binary form from a file in MRT format. (http://www.ripe.net/data-tools/stats/ris/ris-raw-data) The parser detects BGP messages by searching for 16 FF bytes, everything else before or after is ignored.
    • Method Detail

      • parseMessages

        public static List<byte[]> parseMessages​(byte[] byteArray)
        Extract BGP messages from binary file in MRT format.
        Parameters:
        byteArray - array of bytes with BGP messages in binary form.
        Returns:
        list with byte arrays representing extracted messages.