Constructors

Properties

bufferPath: string

bufferPath The path of the buffer.

bufferSize: number = 0

bufferSize The size of the buffer in bytes.

Methods

  • write Writes to the buffer.

    Parameters

    • data: Buffer

      The new buffer to overwrite the buffer.

    Returns void

  • Returns the size of the given variable type

    Parameters

    • varType: VarType

      The variable type to get the size of.

    Returns number