#ifndef _MODULE_IO_TextRider_
#define _MODULE_IO_TextRider_

#include <__typemap.h>
#include <RT0.oh>
#include <CharClass.oh>
#include <LRealStr.oh>
#include <Object.oh>
#include <IO.oh>
#include <RT0.oh>
#include <Object.oh>
#include <Exception.oh>
#define IO_TextRider__maxLengthEol 2
typedef struct IO_TextRider__WriterDesc *IO_TextRider__Writer;
typedef struct IO_TextRider__WriterDesc {
  IO__ByteChannel channel;
  IO__Error error;
  OOC_CHAR8 eol[2];
  OOC_INT16 eolLen;
} IO_TextRider__WriterDesc;
extern void IO_TextRider__InitWriter(IO_TextRider__Writer w, IO__ByteChannel ch);
extern IO_TextRider__Writer IO_TextRider__ConnectWriter(IO__ByteChannel ch);
extern void IO_TextRider__WriterDesc_SetEol(IO_TextRider__Writer w, const OOC_CHAR8 marker__ref[], OOC_LEN marker_0d, OOC_INT16 markerLen);
#define _TBN_IO_TextRider__WriterDesc_SetEol 0
typedef void (*_TBP_IO_TextRider__WriterDesc_SetEol)(IO_TextRider__Writer w, const OOC_CHAR8 marker__ref[], OOC_LEN marker_0d, OOC_INT16 markerLen);
extern void IO_TextRider__WriterDesc_WriteString(volatile IO_TextRider__Writer w, const OOC_CHAR8 s[], volatile OOC_LEN s_0d);
#define _TBN_IO_TextRider__WriterDesc_WriteString 16
typedef void (*_TBP_IO_TextRider__WriterDesc_WriteString)(IO_TextRider__Writer w, const OOC_CHAR8 s[], OOC_LEN s_0d);
extern void IO_TextRider__WriterDesc_WriteStringRegion(volatile IO_TextRider__Writer w, const OOC_CHAR8 s[], volatile OOC_LEN s_0d, volatile OOC_INT32 start, volatile OOC_INT32 end);
#define _TBN_IO_TextRider__WriterDesc_WriteStringRegion 17
typedef void (*_TBP_IO_TextRider__WriterDesc_WriteStringRegion)(IO_TextRider__Writer w, const OOC_CHAR8 s[], OOC_LEN s_0d, OOC_INT32 start, OOC_INT32 end);
extern void IO_TextRider__WriterDesc_WriteObject(volatile IO_TextRider__Writer w, volatile Object__Object obj);
#define _TBN_IO_TextRider__WriterDesc_WriteObject 10
typedef void (*_TBP_IO_TextRider__WriterDesc_WriteObject)(IO_TextRider__Writer w, Object__Object obj);
extern void IO_TextRider__WriterDesc_WriteBool(IO_TextRider__Writer w, OOC_CHAR8 _bool);
#define _TBN_IO_TextRider__WriterDesc_WriteBool 1
typedef void (*_TBP_IO_TextRider__WriterDesc_WriteBool)(IO_TextRider__Writer w, OOC_CHAR8 _bool);
extern void IO_TextRider__WriterDesc_WriteChar(volatile IO_TextRider__Writer w, volatile OOC_CHAR8 ch);
#define _TBN_IO_TextRider__WriterDesc_WriteChar 2
typedef void (*_TBP_IO_TextRider__WriterDesc_WriteChar)(IO_TextRider__Writer w, OOC_CHAR8 ch);
extern void IO_TextRider__WriterDesc_WriteLInt(IO_TextRider__Writer w, OOC_INT32 lint, OOC_INT32 n);
#define _TBN_IO_TextRider__WriterDesc_WriteLInt 5
typedef void (*_TBP_IO_TextRider__WriterDesc_WriteLInt)(IO_TextRider__Writer w, OOC_INT32 lint, OOC_INT32 n);
extern void IO_TextRider__WriterDesc_WriteSInt(IO_TextRider__Writer w, OOC_INT8 sint, OOC_INT32 n);
#define _TBN_IO_TextRider__WriterDesc_WriteSInt 14
typedef void (*_TBP_IO_TextRider__WriterDesc_WriteSInt)(IO_TextRider__Writer w, OOC_INT8 sint, OOC_INT32 n);
extern void IO_TextRider__WriterDesc_WriteInt(IO_TextRider__Writer w, OOC_INT16 _int, OOC_INT32 n);
#define _TBN_IO_TextRider__WriterDesc_WriteInt 4
typedef void (*_TBP_IO_TextRider__WriterDesc_WriteInt)(IO_TextRider__Writer w, OOC_INT16 _int, OOC_INT32 n);
extern void IO_TextRider__WriterDesc_WriteHex(IO_TextRider__Writer w, OOC_INT32 lint, OOC_INT32 d);
#define _TBN_IO_TextRider__WriterDesc_WriteHex 3
typedef void (*_TBP_IO_TextRider__WriterDesc_WriteHex)(IO_TextRider__Writer w, OOC_INT32 lint, OOC_INT32 d);
extern void IO_TextRider__WriterDesc_WriteLReal(IO_TextRider__Writer w, OOC_REAL64 lreal, OOC_INT32 n, OOC_INT32 k);
#define _TBN_IO_TextRider__WriterDesc_WriteLReal 6
typedef void (*_TBP_IO_TextRider__WriterDesc_WriteLReal)(IO_TextRider__Writer w, OOC_REAL64 lreal, OOC_INT32 n, OOC_INT32 k);
extern void IO_TextRider__WriterDesc_WriteReal(IO_TextRider__Writer w, OOC_REAL32 real, OOC_INT32 n, OOC_INT32 k);
#define _TBN_IO_TextRider__WriterDesc_WriteReal 11
typedef void (*_TBP_IO_TextRider__WriterDesc_WriteReal)(IO_TextRider__Writer w, OOC_REAL32 real, OOC_INT32 n, OOC_INT32 k);
extern void IO_TextRider__WriterDesc_WriteLRealFix(IO_TextRider__Writer w, OOC_REAL64 *lreal, OOC_INT32 n, OOC_INT32 k);
#define _TBN_IO_TextRider__WriterDesc_WriteLRealFix 8
typedef void (*_TBP_IO_TextRider__WriterDesc_WriteLRealFix)(IO_TextRider__Writer w, OOC_REAL64 *lreal, OOC_INT32 n, OOC_INT32 k);
extern void IO_TextRider__WriterDesc_WriteRealFix(IO_TextRider__Writer w, OOC_REAL32 real, OOC_INT32 n, OOC_INT32 k);
#define _TBN_IO_TextRider__WriterDesc_WriteRealFix 13
typedef void (*_TBP_IO_TextRider__WriterDesc_WriteRealFix)(IO_TextRider__Writer w, OOC_REAL32 real, OOC_INT32 n, OOC_INT32 k);
extern void IO_TextRider__WriterDesc_WriteLRealEng(IO_TextRider__Writer w, OOC_REAL64 *lreal, OOC_INT32 n, OOC_INT32 k);
#define _TBN_IO_TextRider__WriterDesc_WriteLRealEng 7
typedef void (*_TBP_IO_TextRider__WriterDesc_WriteLRealEng)(IO_TextRider__Writer w, OOC_REAL64 *lreal, OOC_INT32 n, OOC_INT32 k);
extern void IO_TextRider__WriterDesc_WriteRealEng(IO_TextRider__Writer w, OOC_REAL32 real, OOC_INT32 n, OOC_INT32 k);
#define _TBN_IO_TextRider__WriterDesc_WriteRealEng 12
typedef void (*_TBP_IO_TextRider__WriterDesc_WriteRealEng)(IO_TextRider__Writer w, OOC_REAL32 real, OOC_INT32 n, OOC_INT32 k);
extern void IO_TextRider__WriterDesc_WriteSet(IO_TextRider__Writer w, OOC_UINT32 s);
#define _TBN_IO_TextRider__WriterDesc_WriteSet 15
typedef void (*_TBP_IO_TextRider__WriterDesc_WriteSet)(IO_TextRider__Writer w, OOC_UINT32 s);
extern void IO_TextRider__WriterDesc_WriteLn(IO_TextRider__Writer w);
#define _TBN_IO_TextRider__WriterDesc_WriteLn 9
typedef void (*_TBP_IO_TextRider__WriterDesc_WriteLn)(IO_TextRider__Writer w);
extern void OOC_IO_TextRider_init(void);
extern void OOC_IO_TextRider_init0(void);

/* run-time meta data */
extern RT0__StructDesc _td_IO_TextRider__Writer;
extern RT0__StructDesc _td_IO_TextRider__WriterDesc;
extern RT0__StructDesc _td_IO_TextRider__1874;
extern RT0__StructDesc _td_IO_TextRider__2774;
extern RT0__StructDesc _td_IO_TextRider__3680;
extern RT0__StructDesc _td_IO_TextRider__3929;
extern RT0__StructDesc _td_IO_TextRider__5551;
extern RT0__StructDesc _td_IO_TextRider__7029;
extern RT0__StructDesc _td_IO_TextRider__7402;
extern RT0__StructDesc _td_IO_TextRider__7845;
extern RT0__StructDesc _td_IO_TextRider__8230;
extern RT0__StructDesc _td_IO_TextRider__8678;
extern RT0__StructDesc _td_IO_TextRider__9061;
#endif /* _MODULE_IO_TextRider_ */

/* --- */
