Docs.rs
mpeg-syntax-dump-0.1.0
mpeg-syntax-dump 0.1.0
Permalink
Docs.rs crate page
MIT
/
Apache-2.0
Links
Repository
crates.io
Source
Owners
dholroyd
Dependencies
Versions
78.41%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module render
mpeg_
syntax_
dump
0.1.0
Module render
Module Items
Modules
Constants
Functions
In crate mpeg_
syntax_
dump
mpeg_syntax_dump
Module
render
Copy item path
Source
Modules
§
ansi
compact
text
Constants
§
HEX_
BYTES_
PER_
LINE
Number of bytes per hex dump line.
INDENT_
WIDTH
Default number of spaces per indentation level.
MAX_
HEX_
BYTES
Maximum number of bytes shown in a raw hex dump before truncation.
Functions
§
format_
hex_
dump
Format raw bytes as hex dump lines. Returns a Vec of formatted lines. Each line contains up to 16 bytes, with a space separator after the 8th byte. If the data exceeds
MAX_HEX_BYTES
, the dump is truncated and ends with
...
.
format_
term_
annotations
Format term annotations as a trailing comment:
/* name: value */
If multiple terms, they are comma-separated within a single comment.
format_
value
Format a value for display, returning the formatted string.
write_
indent
Write indentation spaces to the output.