phyphox BLE
Plot your Arduino's data in the phyphox app and control the board from the phone
Loading...
Searching...
No Matches
phyphox::ByteSource Class Referenceabstract

Anything that can serve document bytes by offset: the Serializer for generated experiments, a plain buffer for user-supplied XML. More...

#include <Transfer.h>

Inheritance diagram for phyphox::ByteSource:

Public Member Functions

virtual ~ByteSource ()
 
virtual uint32_t size () const =0
 
virtual uint32_t crc () const =0
 
virtual uint32_t read (uint32_t offset, uint8_t *out, uint32_t n) const =0
 

Detailed Description

Anything that can serve document bytes by offset: the Serializer for generated experiments, a plain buffer for user-supplied XML.

Constructor & Destructor Documentation

◆ ~ByteSource()

virtual phyphox::ByteSource::~ByteSource ( )
inlinevirtual

Member Function Documentation

◆ crc()

virtual uint32_t phyphox::ByteSource::crc ( ) const
pure virtual

◆ read()

virtual uint32_t phyphox::ByteSource::read ( uint32_t  offset,
uint8_t *  out,
uint32_t  n 
) const
pure virtual

◆ size()

virtual uint32_t phyphox::ByteSource::size ( ) const
pure virtual

The documentation for this class was generated from the following file: