RustCrypto / formats

Cryptography-related format encoders/decoders: DER, PEM, PKCS, PKIX
235 stars 125 forks source link

base64ct: `Encoder::encode` says it returns bytes read, but it does not. #1285

Open Cyborus04 opened 8 months ago

Cyborus04 commented 8 months ago

The documentation for Encoder::encode says it returns the number of bytes read:

Returns

  • Ok(bytes) if the expected amount of data was read

But it actually returns Ok(()).