Exemplo n.º 1
0
 public BlitzBank(byte[] LBuf, BlitzEndian Endian = BlitzEndian.Little, bool cpylink = false)
 {
     WantEndian = Endian;
     if (cpylink)
     {
         Buffer = LBuf; return;
     }                                       // Faster, friendlier on your RAM but can get nasty results if you are not sure about what you are doing!
     Buffer = new byte[LBuf.Length];
     for (int i = 0; i < LBuf.Length; ++i)
     {
         Buffer[i] = LBuf[i];
     }
 }
Exemplo n.º 2
0
 public BlitzBank(int size, BlitzEndian Endian = BlitzEndian.Little)
 {
     Buffer = new byte[size]; WantEndian = Endian;
 }