mirror of
https://github.com/akuker/RASCSI.git
synced 2024-06-25 01:29:37 +00:00
29 lines
605 B
C
29 lines
605 B
C
|
//---------------------------------------------------------------------------
|
||
|
//
|
||
|
// SCSI Target Emulator RaSCSI Reloaded
|
||
|
// for Raspberry Pi
|
||
|
//
|
||
|
// Copyright (C) 2022 Uwe Seimet
|
||
|
//
|
||
|
// Abstraction for the DaynaPort and the host bridge, which both have methods for writing byte sequences
|
||
|
//
|
||
|
//---------------------------------------------------------------------------
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "os.h"
|
||
|
#include <vector>
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
class ByteWriter
|
||
|
{
|
||
|
|
||
|
public:
|
||
|
|
||
|
ByteWriter() = default;
|
||
|
virtual ~ByteWriter() = default;
|
||
|
|
||
|
virtual bool WriteBytes(const vector<int>&, vector<BYTE>&, uint32_t) = 0;
|
||
|
};
|