Namespace: joker.io
v1.0Provides basic interfaces to I/O primitives.
Index
-
copy
Function v1.0(copy dst src)
Copies from src to dst until either EOF is reached on src or an error occurs.
Returns the number of bytes copied or throws an error.
src must be IOReader, e.g. as returned by joker.os/open.
dst must be IOWriter, e.g. as returned by joker.os/create.