19 references to EnsureWriteCapacity
System.Formats.Cbor (19)
System\Formats\Cbor\Writer\CborWriter.Array.cs (2)
64EnsureWriteCapacity(1); 80EnsureWriteCapacity(bytesToShift);
System\Formats\Cbor\Writer\CborWriter.cs (2)
134EnsureWriteCapacity(encodedValue.Length); 416EnsureWriteCapacity(1);
System\Formats\Cbor\Writer\CborWriter.Integer.cs (5)
89EnsureWriteCapacity(1); 94EnsureWriteCapacity(1 + sizeof(byte)); 100EnsureWriteCapacity(1 + sizeof(ushort)); 107EnsureWriteCapacity(1 + sizeof(uint)); 114EnsureWriteCapacity(1 + sizeof(ulong));
System\Formats\Cbor\Writer\CborWriter.Map.cs (1)
83EnsureWriteCapacity(1);
System\Formats\Cbor\Writer\CborWriter.Simple.cs (4)
64EnsureWriteCapacity(1 + sizeof(float)); 73EnsureWriteCapacity(1 + sizeof(double)); 115EnsureWriteCapacity(1); 125EnsureWriteCapacity(2);
System\Formats\Cbor\Writer\CborWriter.Simple.netcoreapp.cs (1)
22EnsureWriteCapacity(1 + sizeof(short));
System\Formats\Cbor\Writer\CborWriter.String.cs (4)
45EnsureWriteCapacity(value.Length); 87EnsureWriteCapacity(1); 142EnsureWriteCapacity(length); 184EnsureWriteCapacity(1);