WriteBytes() private method

private WriteBytes ( byte address, byte values ) : void
address byte
values byte
return void
        public void WriteRaw(byte[] rawBuffer)
        {
            if (rawBuffer.Length != 192)
            {
                throw new ArgumentException("The raw pixel array must be 192 bytes long (i.e. 8x8x3).", nameof(rawBuffer));
            }

            _mainI2CDevice.WriteBytes(0, rawBuffer);
        }