Class BinaryBGPDumpFileParser

  • public final class BinaryBGPDumpFileParser
    extends Object
    This extracter extracts BGP messages in binary form from a file in MRT format. ( 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.
        byteArray - array of bytes with BGP messages in binary form.
        list with byte arrays representing extracted messages.