Trait AsBStr

trait AsBStr

Helper trait for types that can be viewed as a byte slice

Required Methods

fn as_bstr(self: &Self) -> &[u8]

Casts the input type to a byte slice

Implementors