func writeVarintString(wb *typed.WriteBuffer, s string) { wb.WriteUvarint(uint64(len(s))) wb.WriteString(s) }