Skip to content

Overwrite behavior #8

@qlixed

Description

@qlixed

Currently I simply overwrite the buffer and nothing else. This is done in this way to avoid memory leaks and other kind of issues that might appear if i change the object buffer size, this leads us to get the '\0x0\0x0...' string.
With this in mind, here is some ideas about the current situation:

  • Make a overwrite-and-get-new-string: So we get a correct "empty" string: "". This might add an extra decrement of the reference of the object.
  • Let the '\0x0...' format as a kind-of-debug option, to double check the data

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions