This commit is contained in:
2014-06-22 21:29:13 +04:00
commit 8f689d4be9
6 changed files with 60 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
package ru.m.armageddon;
import haxe.io.BytesOutput;
import haxework.log.TraceLogger;
class Armageddon {
private static inline var TAG = "Armageddon";
public static function main() {
L.push(new TraceLogger());
L.d(TAG, Meta.getVersion());
var foo = new Foo();
foo.bar = "test";
var out = new BytesOutput();
foo.writeTo(out);
var foo2 = new Foo();
foo2.mergeFrom(out.getBytes());
L.d(TAG, foo2.bar);
}
}