MCPcopy Create free account
hub / github.com/apache/thrift / read_string

Method read_string

lib/rs/src/protocol/compact.rs:319–322  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

317 }
318
319 fn read_string(&mut self) -> crate::Result<String> {
320 let bytes = self.read_bytes()?;
321 String::from_utf8(bytes).map_err(From::from)
322 }
323
324 fn read_list_begin(&mut self) -> crate::Result<TListIdentifier> {
325 let (element_type, element_count) = self.read_list_set_begin()?;

Callers 3

read_message_beginMethod · 0.45

Calls 1

read_bytesMethod · 0.45

Tested by 2