fNbt.NbtBinaryReader.SkipString C# (CSharp) 메소드

SkipString() 공개 메소드

public SkipString ( ) : void
리턴 void
        public void SkipString()
        {
            short length = ReadInt16();
            if (length < 0) {
                throw new NbtFormatException("Negative string length given!");
            }
            Skip(length);
        }

Usage Example

예제 #1
0
 internal override bool ReadTag(NbtBinaryReader readStream)
 {
     if (readStream.Selector != null && !readStream.Selector(this))
     {
         readStream.SkipString();
         return(false);
     }
     Value = readStream.ReadString();
     return(true);
 }
All Usage Examples Of fNbt.NbtBinaryReader::SkipString