Skip to content

Overwrite behavior #8

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions