pub type VarBinarySlice<'a> = VarBinary<&'a [u8]>;
Expand description

Binds a byte array as a variadic binary input parameter.

While a byte array can provide us with a pointer to the start of the array and the length of the array itself, it can not provide us with a pointer to the length of the buffer. So to bind byte slices (&[u8]) we need to store the length in a separate value.

This type is created if into_parameter of the IntoParameter trait is called on a &[u8].

Implementations

Indicates missing data

Constructs a new instance containing the bytes in the specified buffer.

Trait Implementations