make decodeVarint accept StringPiece