Function for returning the size of the string (only to be used for the getAddress() function)
| 183 | |
| 184 | //Function for returning the size of the string (only to be used for the getAddress() function) |
| 185 | uint16_t SPIFram::sizeofStr(String &inputStr) { |
| 186 | uint16_t size; |
| 187 | size = (sizeof(char)*(inputStr.length()+1)); |
| 188 | size+=sizeof(inputStr.length()+1); |
| 189 | |
| 190 | return size; |
| 191 | } |
| 192 | |
| 193 | // Reads a byte of data from a specific location in a page. |
| 194 | // Takes two arguments - |
nothing calls this directly
no outgoing calls
no test coverage detected