Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SkipString()

void System.Resources.ResourceReader.SkipString ( )
inlineprivate

Definition at line 366 of file ResourceReader.cs.

367 {
368 int num = _store.Read7BitEncodedInt();
369 if (num < 0)
370 {
371 throw new BadImageFormatException(SR.BadImageFormat_NegativeStringLength);
372 }
373 _store.BaseStream.Seek(num, SeekOrigin.Current);
374 }
virtual Stream BaseStream

References System.Resources.ResourceReader._store, System.SR.BadImageFormat_NegativeStringLength, System.IO.BinaryReader.BaseStream, and System.IO.BinaryReader.Read7BitEncodedInt().

Referenced by System.Resources.ResourceReader._ReadResources(), and System.Resources.ResourceReader.GetValueForNameIndex().