Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1125967 > unrolled thread

Bug#1024634: RFP: chromium-pickle-js -- facilities for basic binary value packing and unpacking

Started byBastian Germann <bage@debian.org>
First post2022-11-22 15:00 +0100
Last post2022-11-22 15:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1024634: RFP: chromium-pickle-js -- facilities for basic binary value packing and unpacking Bastian Germann <bage@debian.org> - 2022-11-22 15:00 +0100

#1125967 — Bug#1024634: RFP: chromium-pickle-js -- facilities for basic binary value packing and unpacking

FromBastian Germann <bage@debian.org>
Date2022-11-22 15:00 +0100
SubjectBug#1024634: RFP: chromium-pickle-js -- facilities for basic binary value packing and unpacking
Message-ID<FuBYB-5xtA-7@gated-at.bofh.it>
Package: wnpp
Severity: wishlist
Control: block 859361 by -1

Name:        chromium-pickle-js
URL:         https://github.com/electron/node-chromium-pickle-js
License:     Expat
Description: facilities for basic binary value packing and unpacking

This class provides facilities for basic binary value packing and unpacking.

The Pickle class supports appending primitive values (ints, strings, etc.) to a pickle instance. The Pickle instance 
grows its internal memory buffer dynamically to hold the sequence of primitive values. The internal memory buffer is 
exposed as the "data" of the Pickle. This "data" can be passed to a Pickle object to initialize it for reading.

When reading from a Pickle object, it is important for the consumer to know what value types to read and in what order 
to read them as the Pickle does not keep track of the type of data written to it.

The Pickle's data has a header which contains the size of the Pickle's payload. It can optionally support additional 
space in the header. That space is controlled by the header_size parameter passed to the Pickle constructor.

[toc] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web