@@ -1459,7 +1459,7 @@ internal unsafe bool AddChar(char ch, int numBytes)
1459
1459
return true ;
1460
1460
}
1461
1461
1462
- internal unsafe bool AddChar ( char ch )
1462
+ internal bool AddChar ( char ch )
1463
1463
{
1464
1464
return AddChar ( ch , 1 ) ;
1465
1465
}
@@ -1515,7 +1515,7 @@ internal unsafe int BytesUsed
1515
1515
}
1516
1516
}
1517
1517
1518
- internal unsafe bool Fallback ( byte fallbackByte )
1518
+ internal bool Fallback ( byte fallbackByte )
1519
1519
{
1520
1520
// Build our buffer
1521
1521
byte [ ] byteBuffer = new byte [ ] { fallbackByte } ;
@@ -1524,7 +1524,7 @@ internal unsafe bool Fallback(byte fallbackByte)
1524
1524
return Fallback ( byteBuffer ) ;
1525
1525
}
1526
1526
1527
- internal unsafe bool Fallback ( byte byte1 , byte byte2 )
1527
+ internal bool Fallback ( byte byte1 , byte byte2 )
1528
1528
{
1529
1529
// Build our buffer
1530
1530
byte [ ] byteBuffer = new byte [ ] { byte1 , byte2 } ;
@@ -1533,7 +1533,7 @@ internal unsafe bool Fallback(byte byte1, byte byte2)
1533
1533
return Fallback ( byteBuffer ) ;
1534
1534
}
1535
1535
1536
- internal unsafe bool Fallback ( byte byte1 , byte byte2 , byte byte3 , byte byte4 )
1536
+ internal bool Fallback ( byte byte1 , byte byte2 , byte byte3 , byte byte4 )
1537
1537
{
1538
1538
// Build our buffer
1539
1539
byte [ ] byteBuffer = new byte [ ] { byte1 , byte2 , byte3 , byte4 } ;
@@ -1566,7 +1566,7 @@ internal unsafe bool Fallback(byte[] byteBuffer)
1566
1566
return true ;
1567
1567
}
1568
1568
1569
- internal unsafe int Count
1569
+ internal int Count
1570
1570
{
1571
1571
get
1572
1572
{
@@ -1634,34 +1634,34 @@ internal unsafe bool AddByte(byte b, int moreBytesExpected)
1634
1634
return true ;
1635
1635
}
1636
1636
1637
- internal unsafe bool AddByte ( byte b1 )
1637
+ internal bool AddByte ( byte b1 )
1638
1638
{
1639
1639
return ( AddByte ( b1 , 0 ) ) ;
1640
1640
}
1641
1641
1642
- internal unsafe bool AddByte ( byte b1 , byte b2 )
1642
+ internal bool AddByte ( byte b1 , byte b2 )
1643
1643
{
1644
1644
return ( AddByte ( b1 , b2 , 0 ) ) ;
1645
1645
}
1646
1646
1647
- internal unsafe bool AddByte ( byte b1 , byte b2 , int moreBytesExpected )
1647
+ internal bool AddByte ( byte b1 , byte b2 , int moreBytesExpected )
1648
1648
{
1649
1649
return ( AddByte ( b1 , 1 + moreBytesExpected ) && AddByte ( b2 , moreBytesExpected ) ) ;
1650
1650
}
1651
1651
1652
- internal unsafe bool AddByte ( byte b1 , byte b2 , byte b3 )
1652
+ internal bool AddByte ( byte b1 , byte b2 , byte b3 )
1653
1653
{
1654
1654
return AddByte ( b1 , b2 , b3 , ( int ) 0 ) ;
1655
1655
}
1656
1656
1657
- internal unsafe bool AddByte ( byte b1 , byte b2 , byte b3 , int moreBytesExpected )
1657
+ internal bool AddByte ( byte b1 , byte b2 , byte b3 , int moreBytesExpected )
1658
1658
{
1659
1659
return ( AddByte ( b1 , 2 + moreBytesExpected ) &&
1660
1660
AddByte ( b2 , 1 + moreBytesExpected ) &&
1661
1661
AddByte ( b3 , moreBytesExpected ) ) ;
1662
1662
}
1663
1663
1664
- internal unsafe bool AddByte ( byte b1 , byte b2 , byte b3 , byte b4 )
1664
+ internal bool AddByte ( byte b1 , byte b2 , byte b3 , byte b4 )
1665
1665
{
1666
1666
return ( AddByte ( b1 , 3 ) &&
1667
1667
AddByte ( b2 , 2 ) &&
@@ -1724,7 +1724,7 @@ internal unsafe int CharsUsed
1724
1724
}
1725
1725
}
1726
1726
1727
- internal unsafe int Count
1727
+ internal int Count
1728
1728
{
1729
1729
get
1730
1730
{
0 commit comments