v/vlib/encoding/base64
Sebastian Schicho 9995f6cca1
encoding.base64: speed up encoding and decoding (#11055)
* add new function headers

* new encoding function

* rename to decode_micro and add helper functions

* implement new decoding function

* add test for buffer to buffer decoding

* - add notice to GO code
- v fmt base64.v

* implement new decoding function

* fix base64_memory_test.v by commenting a few lines

* vfmt base64.v

* add some more asserts to base64_memory_test.v

* remove unused decoding function

* add bounds check, when detecting the padding

* use union for storing the decoded data

Co-authored-by: Delyan Angelov <delian66@gmail.com>
2021-08-07 00:09:55 +03:00
..
base64.v encoding.base64: speed up encoding and decoding (#11055) 2021-08-07 00:09:55 +03:00
base64_memory_test.v encoding.base64: speed up encoding and decoding (#11055) 2021-08-07 00:09:55 +03:00
base64_test.v encoding.base64: speed up encoding and decoding (#11055) 2021-08-07 00:09:55 +03:00