Skip to content
Browse files

add OCTET-VECTOR type

  • Loading branch information...
1 parent 0ea56c7 commit 1f47fb5f138b015a2c6a2a1745ac879d6f8ed451 @froydnj committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 types.lisp
View
3 types.lisp
@@ -4,6 +4,9 @@
(deftype index () '(mod #.array-dimension-limit))
+(deftype octet-vector (&optional (length '*))
+ `(array (unsigned-byte 8) (,length)))
+
(deftype simple-octet-vector (&optional (length '*))
#+(or sbcl cmu) `(simple-array (unsigned-byte 8) (,length))
#-(or sbcl cmu) `(array (unsigned-byte 8) (,length)))

0 comments on commit 1f47fb5

Please sign in to comment.
Something went wrong with that request. Please try again.