Idris2/tests/refc/buffer
CodingCellist 70ef197cf6
[ base ] Deprecate setByte in favour of setBits8 (#2764)
* [ base ] Deprecate setByte in favour of setBits8
           Deprecate getByte; fix Core.Binary.Prims

Along with `setByte`, the `getByte` function should similarly be
deprecated since it also assumes the value will have the given size,
rather than guaranteeing it in the type.

CI highlighted some required changes in `Core.Binary.Prims` thanks to
`-Werror`. The fix was to add some `cast` calls where the old `getByte`
and `setByte` used to be.

The RefC buffer test will need updating once we remove the functions
completely. Added a note for future peeps.
2022-11-15 10:42:07 +01:00
..
expected Fix RefC Buffer getInt function to work with large values 2021-06-14 15:06:44 +01:00
run Update tests using base64 utility to also work on macos (#2536) 2022-07-13 06:46:31 -07:00
TestBuffer.idr [ base ] Deprecate setByte in favour of setBits8 (#2764) 2022-11-15 10:42:07 +01:00
testRead.buf Add RefC readBufferData/writeBufferData support 2021-06-14 15:06:44 +01:00