Menu

cnatural / Blog: Recent posts

Working on new API

We are working on a new API for cnatural, it's called BasicIO and it's usage will be like:

```javascript
// alias:
let io = window.NaturalClient.API.BasicIO;
let con = window.NaturalClient.API.SoftConsole;

let chunkSize = 500; // Read 500B (bytes) per operation
let chunkPos = 0; // Position of the chunk in the file

io.ReadFile("/home/user/filename.txt", chunkPos, chunkSize, function(err, readed)
{
if(err)
throw err;... read more

Posted by Alejandro Linarez 2017-05-18 Labels: basicio server api client
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.