Crate inout

Source
Expand description

Collection of custom reference types for code generic over in-place and buffer-to-buffer modes of operation.

Re-exports§

Structs§

  • Custom pointer type which contains one immutable (input) and one mutable (output) pointer, which are either equal or non-overlapping.
  • Custom slice type which references one immutable (input) slice and one mutable (output) slice of equal length. Input and output slices are either the same or do not overlap.
  • Iterator over InOutBuf.
  • Custom slice type which references one immutable (input) slice and one mutable (output) slice. Input and output slices are either the same or do not overlap. Length of the output slice is always equal or bigger than length of the input slice.
  • The error returned when slice can not be converted into array.
  • The error returned when input and output slices have different length and thus can not be converted to InOutBuf.
  • Output buffer is smaller than input buffer.
  • Padding error. Usually emitted when size of output buffer is insufficient.
  • Variant of InOutBuf with optional padded tail block.