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