MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / convertBinaryToText

Function convertBinaryToText

SRC/tcl/commands.cpp:9924–9935  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9922extern int textToBinary(const char *inputFilename, const char *outputFilename);
9923
9924int convertBinaryToText(ClientData clientData, Tcl_Interp *interp, int argc, TCL_Char **argv)
9925{
9926 if (argc < 3) {
9927 opserr << "ERROR incorrect # args - convertBinaryToText inputFile outputFile\n";
9928 return -1;
9929 }
9930
9931 const char *inputFile = argv[1];
9932 const char *outputFile = argv[2];
9933
9934 return binaryToText(inputFile, outputFile);
9935}
9936
9937
9938int convertTextToBinary(ClientData clientData, Tcl_Interp *interp, int argc, TCL_Char **argv)

Callers

nothing calls this directly

Calls 1

binaryToTextFunction · 0.50

Tested by

no test coverage detected