Module ext_php_rs::binary

source ·
Expand description

Provides implementations for converting to and from Zend binary strings, commonly returned from functions such as pack and unpack.

Structs§

  • Acts as a wrapper around Vec<T> where T implements Pack. Primarily used for passing binary data into Rust functions. Can be treated as a Vec in most situations, or can be ‘unwrapped’ into a Vec through the From implementation on Vec.

Traits§

  • Used to convert between Zend binary strings and vectors. Useful in conjunction with the pack and unpack functions built-in to PHP.