Previously, the write() method for uint8_t buffers didn't quite have the
right signature to override the method in the Stream class, which made
it impossible to call from a Stream pointer.
Also, C++11 override keywords were added to make overriding Stream
methods more explicit and compiler-checked.
One possible complication that may arise is that in order to accept a const uint8_t* argument, write() must cast it to uint8_t* to pass it to the aci library, which may modify the buffer as unexpected by the new const method signature.
Previously, the write() method for uint8_t buffers didn't quite have the right signature to override the method in the Stream class, which made it impossible to call from a Stream pointer.
Also, C++11 override keywords were added to make overriding Stream methods more explicit and compiler-checked.
One possible complication that may arise is that in order to accept a
const uint8_t*
argument,write()
must cast it touint8_t*
to pass it to the aci library, which may modify the buffer as unexpected by the new const method signature.