Method lrs::socket::ip::Ipv6SockAddr::from_mut_bytes_unchecked

Creates a mutable Ipv6 address from given bytes without validating the contents.

Syntax

impl Ipv6SockAddr {
    unsafe fn from_mut_bytes_unchecked(bytes: &mut [u8]) -> &mut Ipv6SockAddr
}

Arguments

NameDescription
bytes

The bytes that contain the address.