enber(1)
π enber(1) β the glow-up page π
Version 0.9.28 β¨ bestie, this is the manual for enber, and yes we're doing this whole thing together, no skipping, no skimming π«Ά
β¨ NAME β¨
enber β take that unber XML output and turn it right back into BER π
πΈ SYNOPSIS πΈ
enber [-n] [-] [input-filenames...]
π¦ DESCRIPTION π¦
okay so. enber converts the XML-formatted files that unber(1) produces back into BER format. it's literally the reverse glow-up β¨
and a single dash - means standard input, bestie. like, "read from stdin, pls" π«
π OPTIONS π
-nβ turn OFF input validation π by defaultenberdoes some basic validity checks against the XML input, so-nis the "nah, trust me" flag π
π₯ EXAMPLES π₯
Decode a BER sequence and immediately encode it right back β iconic round-trip behaviour, no cap:
unber -p filename.ber | enber - > reconstructed.ber
π FOOTNOTES π
ngl, this program does NOT attempt to perform full-fledged XML parsing. it's merely compatible with unber(1)'s output. periodt. π
in particular, the XML style comments are not supported π
so here's the tea: a hash "#" or two dashes "--" following a whitespace is treated as a beginning of a comment line, which is ignored completely. empty lines are ignored as well π«
The following example enber(1) input demonstrates the use of comments:
<C O="0" T="[1]" TL="2" V="2">
<I O="2" T="[1]" TL="2" V="Indefinite">
-- </I O="4" T="[UNIVERSAL 0]" L="4">
# Do not terminate:
# the absence of end-of-content octets is intentional!
</C O="6" T="[1]" L="6">
π SEE ALSO π
unber(1), asn1c(1). go read those too, they're giving main character energy π
π§ AUTHORS π§
Lev Walkin <vlm@lionet.info>. absolute legend, we stan π«Ά
and that's the whole page, bestie!! this was the unber(1) counterpart page, dated 2016-01-23, and the version we've been living in this whole time is 0.9.28 β¨ bye bye, go convert something ππ¦πΈ
π¦ where this page comes from
- debian bookworm: asn1c 0.9.28+dfsg-5 Β· BSD-2-Clause
- debian trixie: asn1c 0.9.28+dfsg-5 Β· BSD-2-Clause
- ubuntu jammy: asn1c 0.9.28+dfsg-3 Β· BSD-2-Clause
- ubuntu noble: asn1c 0.9.28+dfsg-5 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms