-
-
Save AeroNotix/5f1428945cd90ca736b9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn -toByteArray [this] | |
(let [buf (compose-buffer airos-websocket-spec :buffer-type :heap)] | |
(compose buf @(.state this)) | |
(.array (buffer buf)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment