]> git.proxmox.com Git - pxar.git/commit
encoder: add payload advance capability
authorChristian Ebner <c.ebner@proxmox.com>
Tue, 20 Feb 2024 13:07:14 +0000 (14:07 +0100)
committerChristian Ebner <c.ebner@proxmox.com>
Wed, 5 Jun 2024 07:24:22 +0000 (09:24 +0200)
commit7e8af7b6e0fb9cd55bd28172f22fc976543f79de
tree8311e8e475ffe66f895ae127f1755c1bb6172df3
parent2c1daa75fa088693f97fb9acc11394d9a42e1406
encoder: add payload advance capability

Allows to advance the payload writer position by a given size.
This is used to update the encoders payload input position when
injecting reused chunks for files with unchanged metadata.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
src/encoder/aio.rs
src/encoder/mod.rs
src/encoder/sync.rs