2004-06-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / corlib / System.Text / Decoder.cs
index a1752d349e997a1331749af7313cb5ab6c653049..d8d4c5bfad191720539d43d1e64054971e792402 100644 (file)
@@ -27,17 +27,18 @@ namespace System.Text
 
 using System;
 
+[Serializable]
 public abstract class Decoder
 {
 
        // Constructor.
-       protected Decoder() {}
+       protected Decoder () {}
 
        // Get the number of characters needed to decode a buffer.
-       public abstract int GetCharCount(byte[] bytes, int index, int count);
+       public abstract int GetCharCount (byte[] bytes, int index, int count);
 
        // Get the characters that result from decoding a buffer.
-       public abstract int GetChars(byte[] bytes, int byteIndex, int byteCount,
+       public abstract int GetChars (byte[] bytes, int byteIndex, int byteCount,
                                                                 char[] chars, int charIndex);
 
 }; // class Decoder