m4b / scroll

Scroll - making scrolling through buffers fun since 2016
MIT License
155 stars 37 forks source link

Do not error out of g{read,write}_with if the offset is equal to slice len #94

Closed RaitoBezarius closed 11 months ago

RaitoBezarius commented 11 months ago

Retake of #81.

It does not allow reading zero-sized types (like possibly an empty array) from empty slice

Contains documentation in the Pread and Pwrite trait, test is fixed.

m4b commented 10 months ago

released in 0.12.0, happy new year!