aboutsummaryrefslogtreecommitdiff
path: root/src/BTLS/Buffer.hs
Commit message (Collapse)AuthorAge
* Consolidate buffer-handling functionsGravatar Benjamin Barenblat2018-09-04
|
* Replace `unsafeCoerce' with `castPtr'Gravatar Benjamin Barenblat2018-08-31
|
* Marshal `ByteString` input arguments to `fun`sGravatar Benjamin Barenblat2018-08-31
|
* Clean up castsGravatar Benjamin Barenblat2018-08-23
Use unsigned char buffers more pervasively throughout the code. This removes most calls to `asCUCharBuf`, isolating `unsafeCoerce` further. By making some type signatures slightly more flexible, also eliminate most explicit integer conversions.