Registry / utility / content-inspector

content-inspector

JSON →
library0.2.4rscratesunverified

Fast inspection of binary buffers to guess or determine the encoding of content.

# Cargo.toml [dependencies] content_inspector = "0.2.4"
INSTALL
IMPORT
SIG · CONTENT-INSPECTOR
C
content-inspector
utilityrustv0.2.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

inspect
✓ use content_inspector::inspect;

Inspect a byte buffer to determine its content type.

use content_inspector::inspect; fn main() { let data = b"hello world"; let result = inspect(data); println!("{:?}", result); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
16
Resources
content-inspector — cargo add content-inspector · libregistry