ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkWasmIOCommon.h File Reference
#include "WebAssemblyInterfaceExport.h"
#include "itkIntTypes.h"
#include "itkMath.h"
#include "itkCommonEnums.h"
#include <fstream>
#include "cbor.h"
+ Include dependency graph for itkWasmIOCommon.h:

Go to the source code of this file.

Namespaces

namespace  itk
 

Functions

WebAssemblyInterface_EXPORT bool itk::fileNameIsCBOR (const char *fileName)
 
WebAssemblyInterface_EXPORT vcl_size_t itk::ITKComponentSize (const CommonEnums::IOComponent)
 
WebAssemblyInterface_EXPORT void itk::openFileForReading (std::ifstream &inputStream, const std::string &filename, bool ascii=false)
 
WebAssemblyInterface_EXPORT void itk::openFileForWriting (std::ofstream &outputStream, const std::string &filename, bool truncate=true, bool ascii=false)
 
WebAssemblyInterface_EXPORT bool itk::readBufferAsBinary (std::istream &os, void *buffer, SizeValueType numberOfBytesToBeRead)
 
WebAssemblyInterface_EXPORT void itk::readCBORBuffer (const cbor_item_t *index, const char *dataName, void *buffer, SizeValueType numberOfBytesToBeRead)
 
WebAssemblyInterface_EXPORT void itk::writeCBORBuffer (cbor_item_t *index, const char *dataName, const void *buffer, SizeValueType numberOfBytesToWrite, IOComponentEnum ioComponent)