Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
Merge branch 'master' of github.com:akinaru/pcapng-java-decoder
  • Loading branch information
bertrandmartel committed May 14, 2015
2 parents be64a15 + 3773d87 commit 8825819
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ Example laucnhed from release folder

PROGRAM SYNTAX :

``byte[] dataFromFile = readFile("test.pcapng");``
```
byte[] dataFromFile = readFile("test.pcapng");
``PcapDecoder pcapNgDecoder = new PcapDecoder(dataFromFile);``
``pcapNgDecoder.decode();``
PcapDecoder pcapNgDecoder = new PcapDecoder(dataFromFile);
pcapNgDecoder.decode();
```

dont forget the import :
``import fr.bmartel.pcapdecoder.PcapDecoder;``
Expand Down

0 comments on commit 8825819

Please sign in to comment.