2025-01-15 19:42:35 +01:00

66 lines
1.9 KiB
C++

// Generated by Haxe 4.0.5
#ifndef INCLUDED_haxe_io_BytesInput
#define INCLUDED_haxe_io_BytesInput
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_haxe_io_Input
#include <haxe/io/Input.h>
#endif
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS2(haxe,io,BytesInput)
HX_DECLARE_CLASS2(haxe,io,Input)
namespace haxe{
namespace io{
class HXCPP_CLASS_ATTRIBUTES BytesInput_obj : public ::haxe::io::Input_obj
{
public:
typedef ::haxe::io::Input_obj super;
typedef BytesInput_obj OBJ_;
BytesInput_obj();
public:
enum { _hx_ClassId = 0x2a8878af };
void __construct( ::haxe::io::Bytes b, ::Dynamic pos, ::Dynamic len);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="haxe.io.BytesInput")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"haxe.io.BytesInput"); }
static hx::ObjectPtr< BytesInput_obj > __new( ::haxe::io::Bytes b, ::Dynamic pos, ::Dynamic len);
static hx::ObjectPtr< BytesInput_obj > __alloc(hx::Ctx *_hx_ctx, ::haxe::io::Bytes b, ::Dynamic pos, ::Dynamic len);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~BytesInput_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
void __GetFields(Array< ::String> &outFields);
static void __register();
void __Mark(HX_MARK_PARAMS);
void __Visit(HX_VISIT_PARAMS);
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("BytesInput",bf,cb,76,e6); }
::Array< unsigned char > b;
int pos;
int len;
int totlen;
int readByte();
int readBytes( ::haxe::io::Bytes buf,int pos,int len);
};
} // end namespace haxe
} // end namespace io
#endif /* INCLUDED_haxe_io_BytesInput */