type: message source files: xgbj.[ch]
SYNTAX
(SEND <gobj> :BYTE-ADJUST-ARRAY <fix:newsize>) ; 0 <= nex (SEND <gobj> :BYTE-AREF <fix:index>) ; 0 <= Index < size (SEND <gobj> :BYTE-ARRAY-DIMENSION) (SEND <gobj> :BYTE-SETF <fix:index> <fix:val>)
DESCRIPTION
Fetch or store bytes from binary segment; Get or set size-in-bytes of binary segment. Valid indices are always 0 to BYTE-ARRAY-DIMENSION -1.
EXAMPLES
(setq g (send class-gobject :new)) ; Create a gobject instance. (send g :byte-adjust-array 2)) ; Expand binary segment to two bytes. (send g :byte-setf 0 5)) ; Set first byte in segment to 5. (send g :byte-aref 0)) ; Read back first byte.