Exemplo n.º 1
0
        public static FpkString ReadFpkString(Stream input)
        {
            FpkString fpkString = new FpkString();

            fpkString.Read(input);
            return(fpkString);
        }
Exemplo n.º 2
0
        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;
        }
Exemplo n.º 3
0
 public FpkReference()
 {
     ReferenceFilePath = new FpkString();
 }
Exemplo n.º 4
0
 private void Read(Stream input)
 {
     ReferenceFilePath = FpkString.ReadFpkString(input);
 }
Exemplo n.º 5
0
 public FpkEntry()
 {
     FilePathFpkString = new FpkString();
 }
Exemplo n.º 6
0
 public FpkEntry()
 {
     FilePathFpkString = new FpkString();
 }
Exemplo n.º 7
0
 public static FpkString ReadFpkString(Stream input)
 {
     FpkString fpkString = new FpkString();
     fpkString.Read(input);
     return fpkString;
 }