C# Class fNbt.NbtString

A tag containing a single string. String is stored in UTF-8 encoding.
Inheritance: NbtTag
Mostrar archivo Open project: fragmer/fNbt Class Usage Examples

Private Properties

Property Type Description
PrettyPrint void
ReadTag bool
SkipTag void
WriteData void
WriteTag void

Public Methods

Method Description
Clone ( ) : object
NbtString ( ) : System

Creates an unnamed NbtString tag with the default value (empty string).

NbtString ( [ value ) : System

Creates an unnamed NbtString tag with the given value.

NbtString ( [ tagName, [ value ) : System

Creates an NbtString tag with the given name and value.

Private Methods

Method Description
PrettyPrint ( StringBuilder sb, string indentString, int indentLevel ) : void
ReadTag ( NbtBinaryReader readStream ) : bool
SkipTag ( NbtBinaryReader readStream ) : void
WriteData ( NbtBinaryWriter writeStream ) : void
WriteTag ( NbtBinaryWriter writeStream ) : void

Method Details

Clone() public method

public Clone ( ) : object
return object

NbtString() public method

Creates an unnamed NbtString tag with the default value (empty string).
public NbtString ( ) : System
return System

NbtString() public method

Creates an unnamed NbtString tag with the given value.
is null.
public NbtString ( [ value ) : System
value [ String value to assign to this tag. May not be null.
return System

NbtString() public method

Creates an NbtString tag with the given name and value.
is null.
public NbtString ( [ tagName, [ value ) : System
tagName [ Name to assign to this tag. May be null.
value [ String value to assign to this tag. May not be null.
return System