Lines Matching refs:String
83 pub fn read_raw_string(&mut self) -> Result<String, Amf0ReadError> { in read_raw_string() argument
87 let val = String::from_utf8(bytes.to_vec())?; in read_raw_string()
154 let val = String::from_utf8(buff.to_vec())?; in read_long_string()
207 Amf0ValueType::UTF8String(String::from("connect")) in test_amf_reader()
216 String::from("app"), in test_amf_reader()
217 Amf0ValueType::UTF8String(String::from("harlan")), in test_amf_reader()
220 String::from("type"), in test_amf_reader()
221 Amf0ValueType::UTF8String(String::from("nonprivate")), in test_amf_reader()
224 String::from("flashVer"), in test_amf_reader()
225 Amf0ValueType::UTF8String(String::from("FMLE/3.0 (compatible; FMSc/1.0)")), in test_amf_reader()
228 String::from("swfUrl"), in test_amf_reader()
229 Amf0ValueType::UTF8String(String::from("rtmp://localhost:1935/harlan")), in test_amf_reader()
232 String::from("tcUrl"), in test_amf_reader()
233 Amf0ValueType::UTF8String(String::from("rtmp://localhost:1935/harlan")), in test_amf_reader()
335 Amf0ValueType::UTF8String(String::from("connect")) in test_player_connect_reader()
349 properties.insert(String::from("audioCodecs"), Amf0ValueType::Number(3191.0)); in test_player_connect_reader()
350 properties.insert(String::from("videoCodecs"), Amf0ValueType::Number(252.0)); in test_player_connect_reader()
351 properties.insert(String::from("videoFunction"), Amf0ValueType::Number(1.0)); in test_player_connect_reader()
353 String::from("tcUrl"), in test_player_connect_reader()
354 Amf0ValueType::UTF8String(String::from("rtmp://localhost:1935/live")), in test_player_connect_reader()
358 String::from("app"), in test_player_connect_reader()
359 Amf0ValueType::UTF8String(String::from("live")), in test_player_connect_reader()
362 properties.insert(String::from("fpad"), Amf0ValueType::Boolean(false)); in test_player_connect_reader()
363 properties.insert(String::from("capabilities"), Amf0ValueType::Number(15.0)); in test_player_connect_reader()