fn send_buffer(&self, buf: &[u8]) {
        self.send_platform_message(PlatformMessage {
            channel: Cow::Borrowed(self.name()),
            message: &buf,
            response_handle: None,
        });
    }
/// Send a buffer. This is a low level method.
Send a buffer. This is a low level method.
Send a buffer . This is a low level method .
fn send_buffer(&self, buf: &[u8]) {
        self.send_platform_message(PlatformMessage {
            channel: Cow::Borrowed(self.name()),
            message: &buf,
            response_handle: None,
        });
    }
fn send_buffer ( & self , buf : & [ u8 ] ) { self . send_platform_message ( PlatformMessage { channel : Cow :: Borrowed ( self . name ( ) ) , message : & buf , response_handle : None , } ) ; }
Send a buffer.
Send a buffer .
&self
buf
&[u8]