public static FpkString ReadFpkString(Stream input) { FpkString fpkString = new FpkString(); fpkString.Read(input); return(fpkString); }
private void Read(Stream input) { BinaryReader reader = new BinaryReader(input, Encoding.Default, true); DataOffset = reader.ReadUInt32(); reader.Skip(4); DataSize = reader.ReadInt32(); reader.Skip(4); FpkString fileName = FpkString.ReadFpkString(input); Md5Hash = reader.ReadBytes(16); fileName.ResolveString(Md5Hash); FilePathFpkString = fileName; }
public FpkReference() { ReferenceFilePath = new FpkString(); }
private void Read(Stream input) { ReferenceFilePath = FpkString.ReadFpkString(input); }
public FpkEntry() { FilePathFpkString = new FpkString(); }
public static FpkString ReadFpkString(Stream input) { FpkString fpkString = new FpkString(); fpkString.Read(input); return fpkString; }