Fix GetUtfLength to add offset to char array data.

GetUtfLength isn't used by much, so I made ToModifiedUtf8 use it so it
can be exercised more. Also added a test to make sure it's working.

Change-Id: I9d569642aaf2313cc70a2e22f631aec138e2e71b
3 files changed
tree: 4b3e5d7c0befc3a6ec93661d6f9f3cc25f5ea5ba
  1. .gitignore
  3. build/
  4. jdwpspy/
  5. src/
  6. test/
  7. tools/