Skip to content

construct_serialize #635

@moodymudskipper

Description

@moodymudskipper

An inspection and didactic tools that creates the object from bytes by calling serialize on nested calls to paste0() with detailed comments on what the next line is about.

I thought at 1 point to integrate this as a constructor but it really just makes sense for small objects.

It doesn't need to use the S3 stuff that construct() does, we have one main function, then one function per component, the main function calls the header component helpers first, then we call the appropriate data function, for instance list, and it will recurse by itself. We need to pass an indentation value to the data functions for the recursion to work nicely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions