Skip to content

MemoryBuffer

class MemoryBuffer < Buffer

Buffer in memory.

Factory Functions

Name Description
MemoryBuffer

Member Variables

Name Description
value:Value The value of this buffer.

Member Functions

Name Description
load Load from a file.
save Save to a JSON file.

Factory Function Details

function MemoryBuffer(value:Value) -> MemoryBuffer

Member Function Details

load

function load(path:String)

Load from a file.

  • path: Path of the file.

save

function save(path:String)

Save to a JSON file.

  • path: Path of the file.