changed fromBytes method a bit, changed haxedoc