Sharpen.CharsetDecoder.Decode C# (CSharp) Method

Decode() public method

public Decode ( ByteBuffer b ) : string
b ByteBuffer
return string
		public string Decode (ByteBuffer b)
		{
			string res = enc.Decode (b);
			if (res.IndexOf ('\uFFFD') != -1 && decoder.Fallback == DecoderFallback.ExceptionFallback)
				throw new CharacterCodingException ();
			return res;
		}