content
protected byte[] content
EmuFileContents<byte[]>Note that currently, the total contents cannot exceed a Java array, so the file must remain less than 2GB in size.
protected byte[]protected static final intEmuFileContentsread in interface EmuFileContents<byte[]>offset - the offset in the file to readbuf - the destination buffer, whose size must be knownfileSize - the size of the fileEmuFileContentswrite in interface EmuFileContents<byte[]>offset - the offset in the file to writebuf - the source buffer, whose size must be knowncurSize - the current size of the fileEmuFileContentsNote that the file's size will be set to 0, so actual erasure of the contents may not be necessary, but if the contents are expensive to store, they ought to be disposed.
truncate in interface EmuFileContents<byte[]>