コード例 #1
0
ファイル: EndTag.cs プロジェクト: NeoLegends/ENbt
 public EndTag(ENbtBinaryReader reader) : this()
 {
 }
コード例 #2
0
 public TimeSpanTag(ENbtBinaryReader reader)
     : this(reader.ReadInt64())
 {
     Contract.Requires <ArgumentNullException>(reader != null);
 }
コード例 #3
0
ファイル: StringTag.cs プロジェクト: NeoLegends/ENbt
 public StringTag(ENbtBinaryReader reader)
     : this(reader.ReadString())
 {
     Contract.Requires <ArgumentNullException>(reader != null);
 }
コード例 #4
0
 public Int32Vector2Tag(ENbtBinaryReader reader)
     : this(reader.ReadInt32(), reader.ReadInt32())
 {
     Contract.Requires <ArgumentNullException>(reader != null);
 }
コード例 #5
0
ファイル: Tag.cs プロジェクト: NeoLegends/ENbt
        public static Tag ReadFrom(ENbtBinaryReader reader, TagType tagType)
        {
            Contract.Requires <ArgumentNullException>(reader != null);

            return(ReadFrom(reader, tagType, TagResolver.Default));
        }