This change exposes a subset of the pw::varint API for use in C code. Change-Id: I7db2dd1d2622711785e23c8534de6119301c57c3