---
name: "Data::ParseBinary::Data::Cap"
section: "3pm"
platform: "linux"
package: "libdata-parsebinary-perl"
version: "0.31~dfsg-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Data::ParseBinary::Data::Cap"
---

# Data::ParseBinary::Data::Cap(3pm)

Parsing "tcpdump capture file"

## NAME

Data::ParseBinary::Data::Cap - Parsing "tcpdump capture file"

## SYNOPSIS

```
    use Data::ParseBinary::Data::Cap qw{$data_cap_parser};
    my $data = $data_cap_parser->parse(CreateStreamReader(File => $fh));
```

Parsing "tcpdump capture file", whatever it is. Please note that this parser have a lot of white space. (paddings) So when I rebuild the file, the padded area is zeroed, and the re-created file does not match the original file.

I don't know if the recreated file is valid.

This is a part of the Data::ParseBinary package, and is just one ready-made parser. please go to the main page for additional usage info.
