82 reinterpret_cast<IoFuncType
>(
ReadAsn), 0);
100 : m_Data(new char[512]), m_Size(512), m_Ptr(0)
102 m_Out = AsnIoNew(
mode | ASNIO_OUT, 0,
this,
103 0,
reinterpret_cast<IoFuncType
>(
WriteAsn));
static Int2 LIBCALLBACK WriteAsn(Pointer data, CharPtr buffer, Uint2 size)
static Int2 LIBCALLBACK ReadAsn(Pointer data, CharPtr buffer, Uint2 size)
virtual ~AsnMemoryRead(void)
AsnMemoryRead(Uint2 mode, const string &str)
size_t Read(char *buffer, size_t size)
AsnMemoryWrite(Uint2 mode)
virtual ~AsnMemoryWrite(void)
size_t Write(const char *buffer, size_t size)
Include a standard set of the NCBI C++ Toolkit most basic headers.
static const char * str(char *buf, int n)
void Read(CObjectIStream &in, TObjectPtr object, const CTypeRef &type)
void Write(CObjectOStream &out, TConstObjectPtr object, const CTypeRef &type)
int16_t Int2
2-byte (16-bit) signed integer
uint16_t Uint2
2-byte (16-bit) unsigned integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
const struct ncbi::grid::netcache::search::fields::SIZE size