1
0
Fork 0
mirror of https://codeberg.org/icewind/bitbuffer.git synced 2026-06-03 08:34:07 +02:00
Commit graph

218 commits

Author SHA1 Message Date
a07123315c drop read_*_into for now as it doesn't seem to help much for the complexity 2025-09-16 23:50:45 +02:00
eba744fca4 fix some subbuffer end handling 2025-09-16 23:39:09 +02:00
02918d3470 remove memchr 2025-09-16 23:39:09 +02:00
353e8ab25c buffer string read improvements 2025-09-16 23:39:09 +02:00
774d820aaf add read_*_into methods 2025-09-16 23:39:09 +02:00
25a28172ad add schemars_1 feature 2025-09-16 23:39:09 +02:00
b71925baad remove unneeded condition 2025-07-14 17:02:41 +02:00
bf4d038c8d move benchmarks to iai-callgrind 2025-07-13 22:23:18 +02:00
ea2cd36877 clippy fixes 2025-02-23 22:33:20 +01:00
029d7c533f add tests for read sizes 2024-11-03 18:33:57 +01:00
589f355325 implement BitReadSized for wrapper types 2024-11-03 18:33:31 +01:00
5080caa936 docs 2024-04-04 23:11:14 +02:00
efed5a68cb fix reading large signed ints 2024-04-04 22:55:06 +02:00
b46bc881f0 fix writing larger int types in big endian 2024-04-04 19:39:30 +02:00
7422800014
Merge pull request #6 from hussein-aitlahcen/master
fixup: decrement before indexing with `last_mut`
2024-04-03 19:45:35 +02:00
417e8c2b96 prepare for 0.11 2023-10-09 21:51:46 +02:00
dd1f0f0808 add peek method to read without advancing 2023-10-09 15:02:25 +02:00
07dc4686f3 clippy fixes 2023-07-02 17:30:01 +02:00
Nikita Strygin
35e2a42219 Add align function to BitReadStream and BitWriteStream 2023-02-06 15:00:27 +03:00
8bc758c237 fix reading bool from sub-stream causing position to get out of sub-stream bounds 2022-12-13 14:19:50 +01:00
Hussein Ait Lahcen
8a5e7e7df8
fixup: fmt and clippy 2022-08-16 13:51:49 +02:00
Hussein Ait Lahcen
2e2e532129
fixup: public num_traits 2022-08-14 13:46:56 +02:00
Hussein Ait Lahcen
8ba5608262
fixup: decrement before indexing with last_mut 2022-08-12 20:58:16 +02:00
8066984763 fix Utf8Error::length going out of bounds of sub-buffers 2022-08-06 15:58:12 +02:00
b096c70061 allow creating a writestream from a slice 2022-05-01 15:39:41 +02:00
Joseph Angelo
1e575b8efc Check endianess when unconditionally reading boolean values 2022-04-30 08:47:38 -07:00
4a3d5820f8 0.10.5 2022-04-09 18:45:29 +02:00
bd7a4fca5b clippy fixes 2022-04-09 18:41:39 +02:00
bc5d74038e intoiter 2022-04-09 18:35:35 +02:00
5008cae35d write for Cow 2022-04-09 18:33:39 +02:00
bf27c72389 larger non fit chunks 2021-07-27 18:22:38 +02:00
9d04fbe7cf miri being difficult on purpose to ensure we dont take shortcuts 2021-07-27 17:10:52 +02:00
ed249331e1 unalligned fallback 2021-07-27 16:59:58 +02:00
4557a5babb bool write optimizations 2021-07-27 16:44:41 +02:00
f09b56b36a some 32bit optimizations 2021-07-27 15:52:47 +02:00
6a74d8894e add optional schema 2021-07-25 22:31:46 +02:00
9c3d98dc62 cleanup serde 2021-07-25 14:25:56 +02:00
d08f92e11b basic serde support 2021-07-25 14:06:15 +02:00
33ea27fd67 simplify float handling 2021-07-24 19:10:37 +02:00
9aba4351ac optimize aligned floats 2021-07-24 18:50:19 +02:00
eb4bafc310 use the smallest possible size int for descriminant reading/writing 2021-07-24 17:34:29 +02:00
2a1718b5f6 remove full reserve
this makes code a lot simpler
2021-07-24 16:25:25 +02:00
75e50b6707 implement reserve_size with reserve_int 2021-07-24 16:09:48 +02:00
227582cbc4 add reserve_int 2021-07-24 16:04:17 +02:00
c321c5a252 bitwrite for options 2021-07-24 14:53:59 +02:00
5d7dbe35ee partialeq for LazyBitRead 2021-07-20 23:20:26 +02:00
9e0fa4df0b more empty write fixes 2021-07-20 15:38:54 +02:00
716d32fecb flexible error types for reserve 2021-07-20 14:53:05 +02:00
e7617dea76 expose 'reserve' 2021-07-20 13:54:07 +02:00
39e0f528fb fix pushing 0 bits 2021-07-19 18:53:08 +02:00