System.Resources.Win32VersionResource.patch_length C# (CSharp) Méthode

patch_length() private méthode

private patch_length ( BinaryWriter w, long len_pos ) : void
w System.IO.BinaryWriter
len_pos long
Résultat void
	private void patch_length (BinaryWriter w, long len_pos) {
		Stream ms = w.BaseStream;

		long pos = ms.Position;
		ms.Position = len_pos;
		w.Write ((short)(pos - len_pos));
		ms.Position = pos;
	}