private serial_write ( RJCP.IO.Ports.Native.Unix.SafeSerialHandle handle, IntPtr buffer, int length ) : int | ||
handle | RJCP.IO.Ports.Native.Unix.SafeSerialHandle | |
buffer | IntPtr | |
length | int | |
return | int |
public int serial_write(SafeSerialHandle handle, IntPtr data, int length) { int result = UnsafeNativeMethods.serial_write(handle, data, length); errno = Marshal.GetLastWin32Error(); return(result); }
public int serial_write(IntPtr handle, IntPtr buffer, int length) { int result = UnsafeNativeMethods.serial_write(handle, buffer, length); errno = Marshal.GetLastWin32Error(); return(result); }