Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
71ae225972
|
|||
|
3855e478c0
|
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@hamradio/packet",
|
||||
"type": "module",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"description": "Low level packet parsing library (for radio protocols)",
|
||||
"keywords": [
|
||||
"HAM radio",
|
||||
|
||||
@@ -120,6 +120,7 @@ export interface Segment {
|
||||
export interface Field {
|
||||
type: FieldType;
|
||||
name: string;
|
||||
data?: ArrayBuffer; // Optional raw data for the field (if needed for parsing / serialization)
|
||||
value?: unknown; // Optional value for the field (used for serialization or as a default value)
|
||||
bits?: BitField[]; // Optional array of bit field definitions (for BITS type)
|
||||
length?: number; // Optional length for array types (e.g., BYTES, WORDS)
|
||||
|
||||
Reference in New Issue
Block a user