aboutsummaryrefslogtreecommitdiff
path: root/cs-dotnet/src/gatsnull.cs
blob: 353a30f529374b1ccd048c45dc683816d149b076 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System.IO;

namespace Com.Xagasoft.Gats
{
    public class GatsNull : GatsObject
    {
        public GatsNull()
        {
        }

        public override string ToString()
        {
            return "(null)";
        }

        public override void Read( Stream s, char type )
        {
        }

        public override void Write( Stream s )
        {
            s.WriteByte( (int)'n' );
        }
    }
}