Trait Unicode
Source pub trait Unicode {
// Required method
fn to_unicode(&self) -> Vec<u8> ⓘ;
}
Expand description
Use to to_unicode function for String
Convert any string into utf-16le string
§Example
use rdp::model::unicode::Unicode;
let s = "foo".to_string();
assert_eq!(s.to_unicode(), [102, 0, 111, 0, 111, 0])