summaryrefslogtreecommitdiff
path: root/VirtualFileSystem/RandomDevice.h
blob: 4a30c259fc96fb206d7f655bc2d4012a62a40eb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include "CharacterDevice.h"

class RandomDevice final : public CharacterDevice {
public:
    RandomDevice();
    virtual ~RandomDevice();

    Unix::ssize_t read(byte* buffer, Unix::size_t bufferSize) override;
    Unix::ssize_t write(const byte* buffer, Unix::size_t bufferSize) override;
};