MemoryDataStream: check argument types, throw errors, specify @throws tag for JSDoc
MemoryDataStream: check argument types, throw errors, specify @throws tag for JSDoc

peeracle/peeracle,hoangmichel/peeracle