Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bjoernQ/bleps
/ opcode
Function
opcode
bleps/src/command.rs:26–28 ·
view source on GitHub ↗
(ogf: u8, ocf: u16)
Source
from the content-addressed store, hash-verified
24
}
25
26
pub const fn opcode(ogf: u8, ocf: u16) -> u16 {
27
((ogf as u16) << 10) + ocf as u16
28
}
29
30
impl CommandHeader {
31
pub fn from_bytes(bytes: &[u8]) -> CommandHeader {
Callers
2
from_ogf_ocf
Method · 0.85
wait_for_command_complete
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected