Mercurial > hg > ucis.core
diff UTF8NoPreamble.cs @ 1:28dc7d535036
Small improvements, introduced PacketStream
author | Ivo Smits <Ivo@UCIS.nl> |
---|---|
date | Mon, 07 Jan 2013 16:43:28 +0100 |
parents | 3ab940a0c7a0 |
children | 4b78cc5f116b |
line wrap: on
line diff
--- a/UTF8NoPreamble.cs Tue Sep 11 16:28:53 2012 +0200 +++ b/UTF8NoPreamble.cs Mon Jan 07 16:43:28 2013 +0100 @@ -1,7 +1,5 @@ namespace UCIS { public class UTF8NoPreamble : System.Text.UTF8Encoding { - public override byte[] GetPreamble() { - return new byte[] { }; - } + public UTF8NoPreamble() : base(false) { } } }