Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MaterializeInc/materialize
/ decode_password
Function
decode_password
src/balancerd/src/codec.rs:293–297 ·
view source on GitHub ↗
(mut buf: Cursor)
Source
from the content-addressed store, hash-verified
291
}
292
293
fn decode_password(mut buf: Cursor) -> Result<FrontendMessage, io::Error> {
294
Ok(FrontendMessage::Password {
295
password: buf.read_cstr()?.to_owned(),
296
})
297
}
Callers
1
decode
Method · 0.70
Calls
2
read_cstr
Method · 0.80
to_owned
Method · 0.45
Tested by
no test coverage detected