pub struct Binary;
Expand description
Intended to be used as a generic argument for VarCell
to declare that this buffer is used to
hold raw binary input.
Trait Implementations§
source§impl VarKind for Binary
impl VarKind for Binary
§type Element = u8
type Element = u8
Either
u8
for binary and narrow text or u16
for wide text. Wide text could also be
represented as u8
, after all everything is bytes. This makes it difficult though to create
owned VarCell types from u16
buffers.source§const TERMINATING_ZEROES: usize = 0usize
const TERMINATING_ZEROES: usize = 0usize
Number of terminating zeroes required for this kind of variadic buffer.
const C_DATA_TYPE: CDataType = CDataType::Binary
source§fn relational_type(length: usize) -> DataType
fn relational_type(length: usize) -> DataType
Relational type used to bind the parameter.
buffer_length
is specified in elements rather
than bytes, if the two differ.