Crate kawa

source ·

Modules§

Macros§

Structs§

Enums§

Traits§

  • AsBuffer is the trait used by Buffer to oparate on an arbitrary buffer. This is to allow the user to use Kawa over any type as long as it exposes a continious slice of bytes. The previous solution directly used a slice of bytes but it introduces lifetimes. In this approach Buffer owns the underlying buffer.

Functions§