MCPcopy Create free account
hub / github.com/OpenZWave/open-zwave / AppendArray

Method AppendArray

cpp/src/Msg.cpp:144–153  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Add a byte array to the message -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

142// Add a byte array to the message
143//-----------------------------------------------------------------------------
144void Msg::AppendArray
145(
146 const uint8* const _data,
147 const uint8 _length
148)
149{
150 for (uint8 i=0 ; i<_length ; i++) {
151 this->Append( _data[i] );
152 }
153}
154
155//-----------------------------------------------------------------------------
156// <Msg::Finalize>

Callers 2

RequestValueMethod · 0.80
SetValueMethod · 0.80

Calls 1

AppendMethod · 0.95

Tested by

no test coverage detected