Skip to main content

read_string

Function read_string 

Source
pub fn read_string(buf: &mut &[u8]) -> JdwpResult<String>
Expand description

Read a JDWP string (4-byte length prefix + UTF-8 bytes)

§Errors

Returns a JdwpError if the buffer does not contain enough bytes or is malformed.