*/ namespace NoccyLabs\Gpio\Bus; interface BusInterface { /** * Write data to the bus. The data will be written immediately. * */ public function write($data); /** * Read data from the buffer, or perform additional null reads over the * (SPI) bus to acquire the data. * */ public function read($bytes); /** * Return the number of bytes in the read buffer * */ public function getBufferFill(); }