11 references to EnsureReadCapacity
System.Formats.Cbor (11)
System\Formats\Cbor\Reader\CborReader.Integer.cs (4)
168
EnsureReadCapacity
(data, 1 + sizeof(byte));
180
EnsureReadCapacity
(data, 1 + sizeof(ushort));
192
EnsureReadCapacity
(data, 1 + sizeof(uint));
204
EnsureReadCapacity
(data, 1 + sizeof(ulong));
System\Formats\Cbor\Reader\CborReader.Simple.cs (5)
31
EnsureReadCapacity
(buffer, 1 + sizeof(ushort));
38
EnsureReadCapacity
(buffer, 1 + sizeof(float));
72
EnsureReadCapacity
(buffer, 1 + sizeof(short));
79
EnsureReadCapacity
(buffer, 1 + sizeof(float));
86
EnsureReadCapacity
(buffer, 1 + sizeof(double));
System\Formats\Cbor\Reader\CborReader.Simple.netcoreapp.cs (1)
31
EnsureReadCapacity
(buffer, 1 + sizeof(short));
System\Formats\Cbor\Reader\CborReader.String.cs (1)
470
EnsureReadCapacity
(buffer, 1);