Mercurial > hg > ucis.core
comparison 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 |
comparison
equal
deleted
inserted
replaced
0:3ab940a0c7a0 | 1:28dc7d535036 |
---|---|
1 namespace UCIS { | 1 namespace UCIS { |
2 public class UTF8NoPreamble : System.Text.UTF8Encoding { | 2 public class UTF8NoPreamble : System.Text.UTF8Encoding { |
3 public override byte[] GetPreamble() { | 3 public UTF8NoPreamble() : base(false) { } |
4 return new byte[] { }; | |
5 } | |
6 } | 4 } |
7 } | 5 } |