Refactor value assignment to use new string constructor
This commit is contained in:
@@ -154,7 +154,7 @@ internal class BatteryGroup : IGroup
|
||||
&returnBytes,
|
||||
null))
|
||||
{
|
||||
value = span.ToString();
|
||||
value = new string(pSpan);
|
||||
result = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user