# std.mem.writeVarPackedInt: handle write_size == 0 \(\#19745\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/da8fbcc2a9134c52474060ecc240c06e4a7df3cd)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: da8fbcc2a9134c52474060ecc240c06e4a7df3cd

Requested commit: da8fbcc2a9134c52474060ecc240c06e4a7df3cd

Commit: da8fbcc2a9134c52474060ecc240c06e4a7df3cd

Tree: 0dfe0ec51fb43e6862a19c967ef3e5c62cb2427d

Author: clickingbuttons

Committer: GitHub

## Message

```
std.mem.writeVarPackedInt: handle write_size == 0 (#19745)

Also move example comments into tests.
```

## Parents

- [20f4be4cf9953f97db8ebb302fa0e22c78d39432](https://git.cafe/gitcafe/zig/commit/20f4be4cf9953f97db8ebb302fa0e22c78d39432?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/da8fbcc2a9134c52474060ecc240c06e4a7df3cd?format=markdown)
