Beispiel #1
0
 public Data Pull(int bytes)
 {
     var result = new Data(GetBytes(bytes));
     result.StartIndex -= bytes;
     StartIndex += bytes;
     return result;
 }
Beispiel #2
0
 public string AddressDump(Data data) => Dump(data, true);
Beispiel #3
0
 string Dump(Data data, bool isAddress)
 {
     var splitted = Split(data.GetBytes(), isAddress);
     return splitted == null ? data.GetBytes(1).Single().ToString() : Dump(splitted);
 }
Beispiel #4
0
 public void Push(Data data) => Push(data.GetBytes(data._length));
Beispiel #5
0
 public View(Data parent, int startIndex, int bytes)
 {
     _parent = parent;
     _startIndex = startIndex;
     _bytes = bytes;
 }