Skip to content

bin templates in TemplateJson #6

@streamich

Description

@streamich

In TemplateJson introduce ability to generate bin binary Uint8Array nodes. The specification of the template should allow to specify the length of binary data, and range of values in each octet:

type BinTemplate = [
  type: 'bin',
  min?: number, // min length
  max?: number, // max length
  omin?: number, // min octet value, default 0
  omax?: number, // max octet value, default 255
];

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions