Skip to content

Commit

Permalink
src: move BlobSerializerDeserializer to a separate header file
Browse files Browse the repository at this point in the history
This should make it possible to reuse the BlobSerializer and the
BlobDeserializer classes in SEAs to generate and parse the injected
blob.

This change also resolves this TODO:
https://github.com/nodejs/node/blob/4f69aae6a04a460f267005dcf6551959064b3238/src/node_snapshotable.cc#L187

Refs: nodejs#47458
Signed-off-by: Darshan Sen <raisinten@gmail.com>
  • Loading branch information
RaisinTen committed May 9, 2023
1 parent 7fe4745 commit 0bdbb85
Show file tree
Hide file tree
Showing 3 changed files with 447 additions and 423 deletions.
1 change: 1 addition & 0 deletions node.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@
'src/base_object_types.h',
'src/base64.h',
'src/base64-inl.h',
'src/blob_serializer_deserializer.h',
'src/callback_queue.h',
'src/callback_queue-inl.h',
'src/cleanup_queue.h',
Expand Down
Loading

0 comments on commit 0bdbb85

Please sign in to comment.