1 // 2 // Copyright (c) 2010-2023 Antmicro 3 // Copyright (c) 2011-2015 Realtime Embedded 4 // 5 // This file is licensed under the MIT License. 6 // Full license text is available in 'licenses/MIT.txt'. 7 // 8 using Antmicro.Renode.Peripherals.CPU; 9 10 namespace Antmicro.Renode.Peripherals.Bus 11 { 12 public interface IMultibyteWritePeripheral 13 { ReadBytes(long offset, int count, IPeripheral context = null)14 byte[] ReadBytes(long offset, int count, IPeripheral context = null); WriteBytes(long offset, byte[] array, int startingIndex, int count, IPeripheral context = null)15 void WriteBytes(long offset, byte[] array, int startingIndex, int count, IPeripheral context = null); 16 } 17 } 18 19