Added counter mode in InternalGetChars.
authorGerardo García Peña <killabytenow@gmail.com>
Thu, 23 May 2013 15:12:02 +0000 (17:12 +0200)
committerGerardo García Peña <killabytenow@gmail.com>
Thu, 23 May 2013 15:12:02 +0000 (17:12 +0200)
commit72ed65fdd872f6594f287db7b8bb957c3f4eeffc
tree8421ca30f1ee329794d4f815f3c248b66483eee2
parentbf9b74f05a62d5e024fa1a63b0280d2a7bfbfd41
Added counter mode in InternalGetChars.
Added methods InternalGetCharsCount and InternalGetCharsEncode for improving readability.
Accept zero-length input buffer in 'InternalGetBytesDecode/Count' for processing void char buffers.
Removed a redundant 'unsafe' keyword.
mcs/class/corlib/System.Text/UTF8Encoding.cs