Switch to FieldPacker for signed sub-integer types.

The issue here is that all of our small Java primitive types (byte, short,
char) get promoted/passed as int. This in turn causes our setVar() to do
a 4-byte memcpy() instead of the proper (smaller) amount.

Bug: 6865598
Change-Id: I404c3bb6024686d1274229a73feec1e6c7e3fc7b
1 file changed