DecompressLZ77CompressedData() public method

public DecompressLZ77CompressedData ( int offset ) : byte[]
offset int
return byte[]
コード例 #1
0
 public void ReadCompressedData(GBAROM rom, int offset)
 {
     hasBeenEdited = false;
     data.Clear();
     try
     {
         data.AddRange(rom.DecompressLZ77CompressedData(offset));
     }
     catch (ArgumentNullException e)
     {
         throw new ArgumentException("The data at offset " + offset.ToString("X8") + " can't be decompressed.", e);
     }
 }