mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-23 15:01:14 -04:00
Rename args on Writer interface.
This commit is contained in:
parent
2be105853e
commit
0445a842db
1 changed files with 3 additions and 3 deletions
|
@ -37,7 +37,7 @@ using namespace hackrf::one;
|
||||||
|
|
||||||
class Writer {
|
class Writer {
|
||||||
public:
|
public:
|
||||||
virtual bool write(const void* const write_buffer, const size_t write_size) = 0;
|
virtual bool write(const void* const buffer, const size_t bytes) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
class RawFileWriter : public Writer {
|
class RawFileWriter : public Writer {
|
||||||
|
@ -48,8 +48,8 @@ public:
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
bool write(const void* const write_buffer, const size_t write_size) override {
|
bool write(const void* const buffer, const size_t bytes) override {
|
||||||
return file.write(write_buffer, write_size);
|
return file.write(buffer, bytes);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue