Nintenlord.ROMHacking.GBA.GBAROM.InsertLZ77CompressedData C# (CSharp) 메소드

InsertLZ77CompressedData() 공개 메소드

public InsertLZ77CompressedData ( int offset, byte data ) : void
offset int
data byte
리턴 void
        public void InsertLZ77CompressedData(int offset, byte[] data)
        {
            InsertLZ77CompressedData(offset, data, 0, data.Length);
        }

Same methods

GBAROM::InsertLZ77CompressedData ( int offset, byte data, int index, int length ) : void

Usage Example

 public void WriteData(GBAROM rom, int offset, bool compressed)
 {
     hasBeenEdited = false;
     if (compressed)
     {
         rom.InsertLZ77CompressedData(offset, data.ToArray());
     }
     else
     {
         rom.InsertData(offset, data.ToArray());
     }
 }