issues Search Results · repo:ia0/data-encoding language:Rust
Filter by
45 results
(68 ms)45 results
inia0/data-encoding (press backspace or delete to remove)It seems like a footgun to use an assert in decode_mut for checking the length. It would be much nicer if it returned an
error instead, if the length do not much.
See https://github.com/n0-computer/iroh/pull/3155 ...
enhancement
dignifiedquire
- 4
- Opened on Jan 28
- #126
I don t see how fn encode_mut (a safe function) guarantees the (implied) safety requirements of fn chunk_mut_unchecked:
https://github.com/ia0/data-encoding/blob/a22931abb1e0570e54ee4e3860c531fa99701d44/lib/src/lib.rs#L402-L420 ...
question
anforowicz
- 7
- Opened on Jan 22
- #124
I m looking for something like:
info!(bytes = %bytes.fmt_encode( BASE64), Some bytes );
That would allow allocation-free formatting in-line. It would simply wrap bytes into a struct that impl fmt::Display ...
enhancement
dpc
- 3
- Opened on Jan 6
- #118
Steps to reproduce: Just run the code:
use data_encoding::BASE64;
fn main() {
let enc = kRjZkHs9cWCMThkuZSoK1SPXLrkwheZSKJ6dAUAnqf8= ;
let enc_bytes = enc.as_bytes();
let dec = BASE64.decode(enc_bytes).unwrap(); ...
invalid
zier-one
- 2
- Opened on Sep 12, 2024
- #111
Would supporting the variant of base32 that Nix uses be something you would consider?
It is like LeastSignificantFirst but reversed:
let mut spec = Specification::new();
spec.symbols.push_str( 0123456789abcdfghijklmnpqrsvwxyz ...
enhancement
griff
- 1
- Opened on Jul 13, 2024
- #110
Required tasks:
- [x] Use static dispatch instead of dynamic dispatch
- [x] Use static instead of const for pre-defined encodings
- [x] Make Encoding implementation private
- [x] Add _uninit() ...
ia0
- Opened on May 5, 2024
- #106
In https://github.com/staktrace/mailparse/issues/96 it was considered to request this package allow trailing bits on the
BASE64_MIME codec. The assumptions behind this reasoning are:
- BASE64_MIME is ...
enhancement
wathiede
- 1
- Opened on Apr 8, 2024
- #102
Would it make sense for this library to include base58 encoding and decoding?
Currently, I am using base58, which works fine. However, since data-encoding already supports many useful encoders and
decoders, ...
jeremychone
- 2
- Opened on Mar 4, 2024
- #99
Hello, I ve just ran cargo-bloat on my project as I m working on reducing compile times and binary sizes can be a proxy
for compile times, and found that data_encoding::Encoding::encode_mut is taking up ...
GnomedDev
- 10
- Opened on Feb 1, 2024
- #97
This crate is currently used by uutils/coreutils for programs like basenc, base32, and base64, and I m looking for ways
to optimize them. I ve experimented with an AVX2 implementation of simple Base32 ...
enhancement
thedmm
- 4
- Opened on Dec 23, 2023
- #95

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.