Skip to content

tranzystorekk/hexers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

libhexers - iterate over hex encoded bytes

This library provides utilities for automatically converting a byte sequence to a hex encoded one via an iterator adaptor.

Example

use hexers::Hexers;

let bytes = [0xbe_u8, 0xef_u8];
let mut it = bytes.iter().copied().hexed();

assert_eq!(it.next(), Some('b'));
assert_eq!(it.next(), Some('e'));
assert_eq!(it.next(), Some('e'));
assert_eq!(it.next(), Some('f'));

About

Rust iterator that encodes bytes into hex chars

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages