Microsoft.Networking.SerialPort.Read C# (CSharp) Méthode

Read() public méthode

public Read ( byte buffer, int bytesToRead ) : int
buffer byte
bytesToRead int
Résultat int
        public int Read(byte[] buffer, int bytesToRead)
        {
            if (port == null)
            {
                return 0;
            }
            return port.Read(buffer, 0, bytesToRead);
        }