MCPcopy Create free account
hub / github.com/ashkulz/NppFTP / Write

Method Write

UTCP/src/UTDataSource.cpp:364–371  ·  view source on GitHub ↗

Write Writes specified number of bytes PARAM: buffer - buffer to read to count - number of bytes to read RETURN: -1 if error ************************************************/

Source from the content-addressed store, hash-verified

362 -1 if error
363************************************************/
364int CUT_FileDataSource::Write(LPCSTR buffer, size_t count) {
365
366 // Wrong parameter
367 if(buffer == NULL) return -1;
368
369 // Write data to the file
370 return m_file.Write(buffer, (DWORD)count);
371}
372/****************************************
373Seek
374 Moves the file pointer to a specified

Callers 1

WriteLineMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected