Beispiel #1
0
 public void CharCapacityFromByte(ulong byteCapacity, uint charCapacity)
 {
     using (var buffer = new StringBuffer())
     {
         buffer.EnsureByteCapacity(byteCapacity);
         buffer.CharCapacity.Should().Be(charCapacity);
     }
 }