Skip to content

Reimplement cdata support using ffi-reflect #35

Description

@gvx

In order to avoid ffi-reflect as a dependency for bitser proper, this will be an extension using the extension API.

It should support serializing:

  • cdata values
  • ctype values
  • VLAs (variable length arrays)
  • VLSes (variable length structs)

It should be memory safe, reasonably fast and result in compact serialized data (in that order).

It should also take into account every old cdata Issues involving seralizing cdata, ctypes, VLAs or VLSs bug.

It should probably reference cdataser as a starting point.

Thanks to @sonoro1234 for their patience with me getting lost in the bowels of the luaji FFI API.

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

    Labels

    cdataIssues involving seralizing cdata, ctypes, VLAs or VLSsenhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions