I2cDevice.Read(Span<Byte>) Method

Definition

Reads data from the I2C device.

public abstract void Read (Span<byte> buffer);
abstract member Read : Span<byte> -> unit
Public MustOverride Sub Read (buffer As Span(Of Byte))

Parameters

buffer
Span<Byte>

The buffer to read the data from the I2C device. The length of the buffer determines how much data to read from the I2C device.

Applies to