// This is a generated source file for Chilkat version 11.2.0
#ifndef _C_CkBinData_H
#define _C_CkBinData_H
#include "chilkatDefs.h"
#include "ck_inttypes.h"
#include "Chilkat_C.h"


CK_C_VISIBLE_PUBLIC HCkBinData CkBinData_Create(void);
CK_C_VISIBLE_PUBLIC HCkBinData CkBinData_Create2(int progLang);
CK_C_VISIBLE_PUBLIC void CkBinData_Dispose(HCkBinData handle);
CK_C_VISIBLE_PUBLIC const unsigned char *CkBinData_getBinaryDataPtr(HCkBinData handle);
CK_C_VISIBLE_PUBLIC void CkBinData_getDebugLogFilePath(HCkBinData cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC void CkBinData_putDebugLogFilePath(HCkBinData cHandle, const char *newVal);
CK_C_VISIBLE_PUBLIC const char *CkBinData_debugLogFilePath(HCkBinData cHandle);
CK_C_VISIBLE_PUBLIC void CkBinData_getLastErrorHtml(HCkBinData cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC const char *CkBinData_lastErrorHtml(HCkBinData cHandle);
CK_C_VISIBLE_PUBLIC void CkBinData_getLastErrorText(HCkBinData cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC const char *CkBinData_lastErrorText(HCkBinData cHandle);
CK_C_VISIBLE_PUBLIC void CkBinData_getLastErrorXml(HCkBinData cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC const char *CkBinData_lastErrorXml(HCkBinData cHandle);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_getLastMethodSuccess(HCkBinData cHandle);
CK_C_VISIBLE_PUBLIC void CkBinData_putLastMethodSuccess(HCkBinData cHandle, BOOL newVal);
CK_C_VISIBLE_PUBLIC int CkBinData_getNumBytes(HCkBinData cHandle);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_getUtf8(HCkBinData cHandle);
CK_C_VISIBLE_PUBLIC void CkBinData_putUtf8(HCkBinData cHandle, BOOL newVal);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_getVerboseLogging(HCkBinData cHandle);
CK_C_VISIBLE_PUBLIC void CkBinData_putVerboseLogging(HCkBinData cHandle, BOOL newVal);
CK_C_VISIBLE_PUBLIC void CkBinData_getVersion(HCkBinData cHandle, HCkString retval);
CK_C_VISIBLE_PUBLIC const char *CkBinData_version(HCkBinData cHandle);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_AppendBd(HCkBinData cHandle, HCkBinData binData);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_AppendBinary(HCkBinData cHandle, HCkByteData data);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_AppendBom(HCkBinData cHandle, const char *charset);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_AppendByte(HCkBinData cHandle, int byteValue);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_AppendCountedString(HCkBinData cHandle, int numCountBytes, BOOL bigEndian, const char *str, const char *charset);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_AppendData(HCkBinData cHandle, const void *data, int numBytes);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_AppendEncoded(HCkBinData cHandle, const char *encData, const char *encoding);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_AppendEncodedSb(HCkBinData cHandle, HCkStringBuilder sb, const char *encoding);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_AppendInt2(HCkBinData cHandle, int value, BOOL littleEndian);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_AppendInt4(HCkBinData cHandle, int value, BOOL littleEndian);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_AppendPadded(HCkBinData cHandle, const char *str, const char *charset, BOOL padWithSpace, int fieldLen);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_AppendSb(HCkBinData cHandle, HCkStringBuilder sb, const char *charset);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_AppendString(HCkBinData cHandle, const char *str, const char *charset);
CK_C_VISIBLE_PUBLIC void CkBinData_ByteSwap(HCkBinData cHandle, int size);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_CharsetConvert(HCkBinData cHandle, const char *fromCharset, const char *toCharset, BOOL allOrNone);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_Clear(HCkBinData cHandle);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_ContentsEqual(HCkBinData cHandle, HCkBinData binData);
CK_C_VISIBLE_PUBLIC int CkBinData_FindString(HCkBinData cHandle, const char *str, int startIdx, const char *charset);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_GetBinary(HCkBinData cHandle, HCkByteData outBytes);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_GetBinaryChunk(HCkBinData cHandle, int offset, int numBytes, HCkByteData outBytes);
CK_C_VISIBLE_PUBLIC int CkBinData_GetByte(HCkBinData cHandle, int index);
CK_C_VISIBLE_PUBLIC const void * CkBinData_GetData(HCkBinData cHandle);
CK_C_VISIBLE_PUBLIC const void * CkBinData_GetDataChunk(HCkBinData cHandle, int offset, int numBytes);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_GetEncoded(HCkBinData cHandle, const char *encoding, HCkString outStr);
CK_C_VISIBLE_PUBLIC const char *CkBinData_getEncoded(HCkBinData cHandle, const char *encoding);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_GetEncodedChunk(HCkBinData cHandle, int offset, int numBytes, const char *encoding, HCkString outStr);
CK_C_VISIBLE_PUBLIC const char *CkBinData_getEncodedChunk(HCkBinData cHandle, int offset, int numBytes, const char *encoding);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_GetEncodedSb(HCkBinData cHandle, const char *encoding, HCkStringBuilder sb);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_GetHash(HCkBinData cHandle, const char *algorithm, const char *encoding, HCkString outStr);
CK_C_VISIBLE_PUBLIC const char *CkBinData_getHash(HCkBinData cHandle, const char *algorithm, const char *encoding);
CK_C_VISIBLE_PUBLIC int CkBinData_GetInt2(HCkBinData cHandle, int index, BOOL littleEndian);
CK_C_VISIBLE_PUBLIC int CkBinData_GetInt4(HCkBinData cHandle, int index, BOOL littleEndian);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_GetString(HCkBinData cHandle, const char *charset, HCkString outStr);
CK_C_VISIBLE_PUBLIC const char *CkBinData_getString(HCkBinData cHandle, const char *charset);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_GetTextChunk(HCkBinData cHandle, int startIdx, int numBytes, const char *charset, HCkString outStr);
CK_C_VISIBLE_PUBLIC const char *CkBinData_getTextChunk(HCkBinData cHandle, int startIdx, int numBytes, const char *charset);
CK_C_VISIBLE_PUBLIC unsigned long CkBinData_GetUInt2(HCkBinData cHandle, int index, BOOL littleEndian);
CK_C_VISIBLE_PUBLIC unsigned long CkBinData_GetUInt4(HCkBinData cHandle, int index, BOOL littleEndian);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_IsValidUtf8(HCkBinData cHandle);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_LoadBinary(HCkBinData cHandle, HCkByteData data);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_LoadEncoded(HCkBinData cHandle, const char *encData, const char *encoding);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_LoadFile(HCkBinData cHandle, const char *path);
CK_C_VISIBLE_PUBLIC void CkBinData_RemoveByteVal(HCkBinData cHandle, int value);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_RemoveChunk(HCkBinData cHandle, int offset, int numBytes);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_SecureClear(HCkBinData cHandle);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_WriteAppendFile(HCkBinData cHandle, const char *path);
CK_C_VISIBLE_PUBLIC BOOL CkBinData_WriteFile(HCkBinData cHandle, const char *path);
#endif
