git » swiftpm » main » tree

[main] / Sources / c_snikket / iinclude / haxe / crypto / Sha256.h

// Generated by Haxe 4.3.3
#ifndef INCLUDED_haxe_crypto_Sha256
#define INCLUDED_haxe_crypto_Sha256

#ifndef HXCPP_H
#include <hxcpp.h>
#endif

HX_DECLARE_STACK_FRAME(_hx_pos_0a4e95b4276e5057_48_new)
HX_DECLARE_CLASS2(haxe,crypto,Sha256)
HX_DECLARE_CLASS2(haxe,io,Bytes)

namespace haxe{
namespace crypto{


class HXCPP_CLASS_ATTRIBUTES Sha256_obj : public ::hx::Object
{
	public:
		typedef ::hx::Object super;
		typedef Sha256_obj OBJ_;
		Sha256_obj();

	public:
		enum { _hx_ClassId = 0x0c0976ea };

		void __construct();
		inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="haxe.crypto.Sha256")
			{ return ::hx::Object::operator new(inSize,inContainer,inName); }
		inline void *operator new(size_t inSize, int extra)
			{ return ::hx::Object::operator new(inSize+extra,false,"haxe.crypto.Sha256"); }

		inline static ::hx::ObjectPtr< Sha256_obj > __new() {
			::hx::ObjectPtr< Sha256_obj > __this = new Sha256_obj();
			__this->__construct();
			return __this;
		}

		inline static ::hx::ObjectPtr< Sha256_obj > __alloc(::hx::Ctx *_hx_ctx) {
			Sha256_obj *__this = (Sha256_obj*)(::hx::Ctx::alloc(_hx_ctx, sizeof(Sha256_obj), false, "haxe.crypto.Sha256"));
			*(void **)__this = Sha256_obj::_hx_vtable;
{
            	HX_STACKFRAME(&_hx_pos_0a4e95b4276e5057_48_new)
            	}
		
			return __this;
		}

		static void * _hx_vtable;
		static Dynamic __CreateEmpty();
		static Dynamic __Create(::hx::DynamicArray inArgs);
		//~Sha256_obj();

		HX_DO_RTTI_ALL;
		::hx::Val __Field(const ::String &inString, ::hx::PropertyAccess inCallProp);
		static bool __GetStatic(const ::String &inString, Dynamic &outValue, ::hx::PropertyAccess inCallProp);
		static void __register();
		bool _hx_isInstanceOf(int inClassId);
		::String __ToString() const { return HX_("Sha256",87,18,8f,51); }

		static  ::haxe::io::Bytes make( ::haxe::io::Bytes b);
		static ::Dynamic make_dyn();

		static ::Array< int > bytes2blks( ::haxe::io::Bytes b);
		static ::Dynamic bytes2blks_dyn();

		::Array< int > doEncode(::Array< int > m,int l);
		::Dynamic doEncode_dyn();

};

} // end namespace haxe
} // end namespace crypto

#endif /* INCLUDED_haxe_crypto_Sha256 */