Tries to provide consistent access to haxe.io.bytes from any primitive