[NodeMod Core]
/ .. / FileBuffer
Interface: FileBuffer
Defined in: src/native/file.ts:4
File buffer interface providing convenient access to loaded file data.
Properties
length
length:
number
Defined in: src/native/file.ts:8
Size of the buffer in bytes
Methods
toString()
toString(
encoding?
):string
Defined in: src/native/file.ts:6
Convert buffer to string with optional encoding
Parameters
encoding?
string
Returns
string