From 2fbe5a5eee8d5d28af55ea9e161d89543a9d8565 Mon Sep 17 00:00:00 2001 From: ian Date: Sun, 5 Oct 2003 18:44:31 +0000 Subject: [PATCH] document some undocumented hbytes ops --- base/chiark-tcl.h | 3 +++ hbytes/hbytes.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/base/chiark-tcl.h b/base/chiark-tcl.h index afdae9a..1014182 100644 --- a/base/chiark-tcl.h +++ b/base/chiark-tcl.h @@ -17,6 +17,9 @@ * hbytes overwrite VAR START VALUE * hbytes trimleft VAR removes any leading 0 octets * hbytes repeat VALUE COUNT => COUNT copies of VALUE + * hbytes zeroes COUNT => COUNT zero bytes + * hbytes random COUNT => COUNT random bytes + * hbytes xor VAR VALUE $VAR (+)= VALUE * * hbytes ushort2h LONG => LONG must be <2^16, returns as hex * hbytes h2ushort HEX => |HEX| must be 2 bytes, returns as ulong diff --git a/hbytes/hbytes.h b/hbytes/hbytes.h index afdae9a..1014182 100644 --- a/hbytes/hbytes.h +++ b/hbytes/hbytes.h @@ -17,6 +17,9 @@ * hbytes overwrite VAR START VALUE * hbytes trimleft VAR removes any leading 0 octets * hbytes repeat VALUE COUNT => COUNT copies of VALUE + * hbytes zeroes COUNT => COUNT zero bytes + * hbytes random COUNT => COUNT random bytes + * hbytes xor VAR VALUE $VAR (+)= VALUE * * hbytes ushort2h LONG => LONG must be <2^16, returns as hex * hbytes h2ushort HEX => |HEX| must be 2 bytes, returns as ulong -- 2.30.2