Package ej.wasi.io
Interface WritableIO
-
- All Superinterfaces:
AutoCloseable,Closeable,WasiIO
- All Known Subinterfaces:
WasiFile
- All Known Implementing Classes:
Wasi.StdOut,WasiFileImpl,WasiFileStub,WasiSocket
public interface WritableIO extends WasiIO
A writable WasiIO
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwrite(byte[] buffer, int offset, int length)Writeslengthbytes from t he specified byte array starting at offsetoffsetto this WasiIO.
-
-
-
Method Detail
-
write
void write(byte[] buffer, int offset, int length) throws IOExceptionWriteslengthbytes from t he specified byte array starting at offsetoffsetto this WasiIO.- Parameters:
buffer- the data to write.offset- the starting offset.length- the number of bytes to write.- Throws:
IOException- if an I/O error occurs.
-
-