public ulong read_as_ulong(string bus_id, int device_address, int count)
        {
            var buffer = new byte[count];

            _i2CBusService.Write(bus_id, device_address, buffer.AsArraySegment());
            return(ConverterPythonProxy.ArrayToULong(buffer));
        }
        public void write(string bus_id, int device_address, List buffer)
        {
            if (bus_id == null)
            {
                throw new ArgumentNullException(nameof(bus_id));
            }
            if (buffer == null)
            {
                throw new ArgumentNullException(nameof(buffer));
            }

            _i2CBusService.Write(bus_id, device_address, ConverterPythonProxy.ListToByteArray(buffer).AsArraySegment());
        }