write(io::IO, x)
Write the canonical binary representation of a value to the given I/O stream or file.
I would like to use this for my own I/O, something like
struct MyIO <: IO
handle::Ptr{Cvoid}
...
end
myio = MyIO(...)
write(myio, whatevervalue)
Which methods does write
call, that I would have to provide for MyIO
?