---
name: "berdecode"
section: "1"
platform: "linux"
package: "snacc"
version: "1.3.1-9"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/berdecode"
---

# berdecode(1)

decode BER encoded data

## NAME

berdecode - decode BER encoded data

## SYNOPSIS

**berdecode** \[**-s** *bytestostrip*\] \[**-strip** *bytestostrip*\] \[**-d**\] \[**-debug**\] \[**-t** *tablefilename*\] \[**-table** *tablefilename*\] \[**filename**\] \[**-**\]

## DESCRIPTION

This program reads a binary ASN.1 grammar file generated by **snacc** **-T** and uses it to decode ASN.1 BER encoded data from files or stdin.

From every message the first \<bytestostrip\> bytes (default 2) are skipped.

Flag **-d** gives additional information during decoding.

This manual page was written for the Debian GNU/Linux distribution because the original program does have only a README file.

## SEE ALSO

snacc (1), [mkchdr(1)](/mkchdr/1.md), [ptbl(1)](/ptbl/1.md), [pval(1)](/pval/1.md), [snacc-config(1)](/snacc-config/1.md).

Please install the snacc-doc package for more information on snacc.

## AUTHOR

This manual page was written by W. Martin Borgert (\<debacle@debian.org\>) for the Debian GNU/Linux system. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or any later version published by the Free Software Foundation.

## AUTHOR

**W. Martin Borgert**

Author.

## COPYRIGHT

Copyright © 2000 W. Martin Borgert\
