[−][src]Function cassandra_proto::types::to_u_short
pub fn to_u_short(int: u16) -> Vec<u8>
Converts number i16 into Cassandra's short
.
Panics
It panics if given u16
could not be converted into bytes
pub fn to_u_short(int: u16) -> Vec<u8>
Converts number i16 into Cassandra's short
.
It panics if given u16
could not be converted into bytes