ladybird/VirtualFileSystem/NullDevice.h

14 lines
279 B
C++

#pragma once
#include "CharacterDevice.h"
class NullDevice final : public CharacterDevice {
public:
NullDevice();
virtual ~NullDevice();
ssize_t read(byte* buffer, size_t bufferSize) override;
ssize_t write(const byte* buffer, size_t bufferSize) override;
};