vfs::PseudoFile

Summary

Inheritance

Inherits from: vfs::Node

Constructors and Destructors

PseudoFile(size_t max_file_size, ReadHandler read_handler, WriteHandler write_handler)

Public types

ReadHandler using
fit::function< zx_status_t(std::vector< uint8_t > *output, size_t max_bytes)>
WriteHandler using
fit::function< zx_status_t(std::vector< uint8_t > input)>

Public types

ReadHandler

fit::function< zx_status_t(std::vector< uint8_t > *output, size_t max_bytes)> ReadHandler

WriteHandler

fit::function< zx_status_t(std::vector< uint8_t > input)> WriteHandler

Public functions

PseudoFile

 PseudoFile(
  size_t max_file_size,
  ReadHandler read_handler,
  WriteHandler write_handler
)