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