pub fn to_byte(value: bool) -> Vec<byte> ⓘ
Turns bool into Vec<byte>.
bool
Vec<byte>
ℹ️ A bool always corresponds to one byte, being 0 if false and 1 if true.
byte
0
false
1
true