store/[org.clojure/clojure "1.8.0"] clj::clojure.core/aset-byte

Official Documentation

Add notes
Arities
==================================================
   [array idx val]
   [array idx idx2 & idxv]

Docstring
==================================================
  Sets the value at the index/indices. Works on arrays of byte. Returns val.

Source

(def-aset
  ^{:doc "Sets the value at the index/indices. Works on arrays of byte. Returns val."
    :added "1.0"}
  aset-byte setByte byte)

Example 1

Edit
;; create an array of 10 bytes and set one of the values to 127

(def bs (byte-array 10))
;; => #'user/bs

(vec bs)
;; => [0 0 0 0 0 0 0 0 0 0]

(aset-byte bs 2 127)
;; => 127

(vec bs)
;; => [0 0 127 0 0 0 0 0 0 0]

Uses on crossclj