Pay attention to string offset and count fields.

Strings can be represented as an offset and count inside a larger
character array. Pay attention to the offset and count fields when
getting the string value instead of returning the entire underlying
character array.

Bug: 23223379
Change-Id: Idc95870e33ede90b23deed9489c8c4796107f585
2 files changed