|
using System;
using System.IO;
using NBT.Exceptions;
namespace NBT.Tags
{
public sealed class TagEnd : Tag
{
public TagEnd()
{
}
public override byte tagID
{
get
{
return TagTypes.TagEnd;
}
}
public override string toString()
{
return "";
}
internal override void readTag(Stream stream)
{
throw new NotImplementedException();
}
internal override void writeTag(Stream stream)
{
if (stream == null)
{
throw new NBT_InvalidArgumentNullException();
}
stream.WriteByte(TagTypes.TagEnd);
}
public override object Clone()
{
return new TagEnd();
}
public override Type getType()
{
return typeof(TagEnd);
}
public override object Value
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
public override bool Equals(Tag other)
{
bool bResult = true;
if (typeof(TagEnd) != other.getType())
{
bResult = false;
}
return bResult;
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.