mokomoking2501/profinet_master/frame does not have a README file
pub(all) suberror FrameError { InvalidMacLength(Int) InvalidMacText(String) InvalidIpv4Length(Int) InvalidIpv4Text(String) InvalidHexText(String)} derive(Eq, ToJson, @moonbitlang/core/debug.DebugDebug)
pub(all) struct IPv4Address { bytes : Bytes} derive(Eq)
fn IPv4Address::from_text(text : StringView) -> IPv4Address raise FrameError
fn IPv4Address::new(bytes : Bytes) -> IPv4Address raise FrameError
fn IPv4Address::octets(self : IPv4Address) -> Bytes
fn IPv4Address::to_text(self : IPv4Address) -> String
pub(all) struct MacAddress { bytes : Bytes} derive(Eq)
fn MacAddress::broadcast() -> MacAddress
fn MacAddress::from_hex(text : StringView) -> MacAddress raise FrameError
fn MacAddress::new(bytes : Bytes) -> MacAddress raise FrameError
fn MacAddress::octets(self : MacAddress) -> Bytes
fn MacAddress::to_hex(self : MacAddress, separator? : StringView) -> String
fn bytes_from_hex(text : StringView, separator? : StringView) -> Bytes raise FrameError
fn bytes_to_hex(data : Bytes, separator? : StringView) -> String
fn uint16_to_hex(value : Int) -> String
fn uint32_to_hex(value : Int) -> String
Install
No dependencies
Published modules that use this version
Powered by MoonBit
© 2026 mooncakes.io