Perhaps we should augment your tests to also exercise when we pass a buffer. 1. did we get the expected bytes back 2. did we overwrite more of the buffer than we expected http://codereview.appspot.com/6306053/diff/2001/src/core/SkPath.cpp File src/core/SkPath.cpp (right): http://codereview.appspot.com/6306053/diff/2001/src/core/SkPath.cpp#newcode415 src/core/SkPath.cpp:415: int count = fVerbs.count(); sizeof(uint8_t) or sizeof(*fVerbs.begin()) or we could add a method to SkTDArray to convert count->bytes...
Added SkTDArray::copyRange(), used in getPoints/getVerbs. Added tests that check the verbs.
lgtm
Closed with r4209