wavex v0.11.0 Wavex.Utils

Miscellaneous utilities.

Link to this section Summary

Functions

Take bytes until null is encountered

Verify a FourCC (four character code)

Link to this section Functions

Link to this function take_until_null(binary)
take_until_null(binary()) :: binary()

Take bytes until null is encountered.

Link to this function verify_four_cc(arg1, arg2)
verify_four_cc(<<_::32>>, <<_::32>>) ::
  :ok | {:error, Wavex.Error.UnexpectedFourCC.t()}

Verify a FourCC (four character code).