Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetByteCount() [6/7]

unsafe override int System.Text.UTF7Encoding.GetByteCount ( string s)
inlinevirtual

Reimplemented from System.Text.Encoding.

Definition at line 269 of file UTF7Encoding.cs.

270 {
271 if (s == null)
272 {
273 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
274 }
275 fixed (char* pChars = s)
276 {
277 return GetByteCount(pChars, s.Length, null);
278 }
279 }
unsafe override int GetByteCount(char[] chars, int index, int count)

References System.Text.UTF7Encoding.GetByteCount(), System.s, and System.ThrowHelper.ThrowArgumentNullException().