Project

General

Profile

Actions

Feature #466

closed

dataio: arraylen type

Added by Alina Lenk 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
General
Target version:
Start date:
04/18/2024
Due date:
% Done:

0%

Estimated time:

Description

Introduce a new dataio type "arraylen" that serves both to encode the length of an array, and to create that array in JSON mode.
  • In binary mode, this is just read and written as an appropriate integer type (uint16 should do unless maximum packet length gets a lot bigger)
  • In JSON mode, this is written by creating an array, and read by getting the length of that array, without needing extra space (and structure) to transmit the length separately.

Files

0002-Add-dataio-arraylen-type.patch (4.51 KB) 0002-Add-dataio-arraylen-type.patch main Alina Lenk, 04/18/2024 01:24 AM
Actions #1

Updated by Alina Lenk 7 months ago

Actions #2

Updated by Alina Lenk 7 months ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF