Module binary_slice

Source
Expand description

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

Structs§

BinarySlice
Acts as a wrapper around &[T] where T implements PackSlice. Primarily used for passing read-only binary data into Rust functions.

Traits§

PackSlice
Used to expose a Zend binary string as a slice. Useful in conjunction with the pack and unpack functions built-in to PHP.