Creates a socket address from a sequence of bytes without validation.
impl SockAddr {
unsafe fn from_bytes_unchecked(bytes: &[u8]) -> &SockAddr
}| Name | Description |
|---|---|
| bytes | The buffer containing the address. |
If bytes does not contain a valid and wrapped socket address, the behavior is undefined.