Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DioxusLabs/dioxus
/ decode
Method
decode
packages/fullstack/src/encoding.rs:34–36 ·
view source on GitHub ↗
(bytes: Bytes)
Source
from the content-addressed store, hash-verified
32
}
33
34
fn decode<O: DeserializeOwned>(bytes: Bytes) -> Option<O> {
35
serde_json::from_slice(&bytes).ok()
36
}
37
}
38
39
pub struct CborEncoding;
Callers
5
load_image_from_path
Function · 0.80
process_image
Function · 0.80
create_macos_icns_file
Method · 0.80
constructor
Method · 0.80
from_str
Method · 0.80
Calls
2
ok
Method · 0.45
as_ref
Method · 0.45
Tested by
no test coverage detected