Package org.teavm.runtime.fs
Interface VirtualFileAccessor
-
- All Known Implementing Classes:
CVirtualFileAccessor,WasiVirtualFileAccessor
public interface VirtualFileAccessor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()voidflush()intread(byte[] buffer, int offset, int limit)voidresize(int size)voidseek(int target)intsize()voidskip(int amount)inttell()voidwrite(byte[] buffer, int offset, int limit)
-
-
-
Method Detail
-
read
int read(byte[] buffer, int offset, int limit) throws java.io.IOException- Throws:
java.io.IOException
-
write
void write(byte[] buffer, int offset, int limit) throws java.io.IOException- Throws:
java.io.IOException
-
tell
int tell() throws java.io.IOException
- Throws:
java.io.IOException
-
seek
void seek(int target) throws java.io.IOException
- Throws:
java.io.IOException
-
skip
void skip(int amount) throws java.io.IOException
- Throws:
java.io.IOException
-
size
int size() throws java.io.IOException
- Throws:
java.io.IOException
-
resize
void resize(int size) throws java.io.IOException- Throws:
java.io.IOException
-
close
void close() throws java.io.IOException- Throws:
java.io.IOException
-
flush
void flush() throws java.io.IOException- Throws:
java.io.IOException
-
-