From ba14cf8f24fa9467c5671fdcea4015be4eb97ba8 Mon Sep 17 00:00:00 2001 From: Joel Wetzell Date: Tue, 3 Mar 2026 21:43:43 -0600 Subject: [PATCH] remove uint parse/random --- astro.config.mjs | 5 ----- src/content/docs/processors/uint/parse.md | 19 ------------------- src/content/docs/processors/uint/random.md | 20 -------------------- 3 files changed, 44 deletions(-) delete mode 100644 src/content/docs/processors/uint/parse.md delete mode 100644 src/content/docs/processors/uint/random.md diff --git a/astro.config.mjs b/astro.config.mjs index d075871..5084e8e 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -101,11 +101,6 @@ export default defineConfig({ collapsed: true, autogenerate: { directory: 'processors/time' } }, - { - label: "Uint", - collapsed: true, - autogenerate: { directory: 'processors/uint' } - } ] }, { diff --git a/src/content/docs/processors/uint/parse.md b/src/content/docs/processors/uint/parse.md deleted file mode 100644 index 5a65982..0000000 --- a/src/content/docs/processors/uint/parse.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -title: Uint Parse -sidebar: - order: 1 ---- -The `uint.parse` processor takes a string and parses it as an unsigned integer with the specified `base` and `bitSize`. This processor will return an error if the message being processed is not a string or if the string cannot be parsed into an unsigned integer. - -- **type**: `uint.parse` -- **params**: - - **base**: (optional) the base to use for parsing the unsigned integer, defaults to 10 - - **bitSize**: (optional) the bit size of the unsigned integer to parse, defaults to 64 - -### Example -This would parse the string payload as a 32 bit, base 10 unsigned integer and set the payload to that value. -``` -- type: uint.parse - params: - bitSize: 32 -``` \ No newline at end of file diff --git a/src/content/docs/processors/uint/random.md b/src/content/docs/processors/uint/random.md deleted file mode 100644 index 97e227d..0000000 --- a/src/content/docs/processors/uint/random.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: Uint Random -sidebar: - order: 2 ---- -The `uint.random` processor will set the payload to a random unsigned integer between the specified `min` and `max` value. The minimum and maximum values are inclusive. - -- **type**: `uint.random` -- **params**: - - **min**: the minimum value for the random unsigned integer. - - **max**: the maximum value for the random unsigned integer. - -### Example -This would generate a random unsigned integer between 0 and 127 and set the payload to that value. -``` -- type: uint.random - params: - min: 0 - max: 127 -``` \ No newline at end of file