EmbedFile
open class EmbedFile(val name: String, val parent: EmbedFolder, val contents: ByteArray) : EmbedFileEntity(source)
A virtual file in the file tree
Since
0.1.0
Properties
Functions
Link copied to clipboard
Get the contents of the file as a byte array
Link copied to clipboard
Get the contents of the file as a string
Link copied to clipboard
Get the contents of the file as a counting input stream
Link copied to clipboard
Get the contents of the file as a data input stream
Link copied to clipboard
Get the contents of the file as a stream
Link copied to clipboard
Get the contents of the file as a stream
Link copied to clipboard
Convert the entity to a EmbedFolder