Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

store-raw-length gets the length of the current raw binary data in the given id in the store.

Parameter Description
store Store name
id Key of which length is retrieved

Example

Example 1: Store some data in the "RAWPULSEOX" raw data buffer and see how much data is in it.

> (define store (make-store "main"))
> (define newv (u8vector 127 0 127 0 127 0 126 0))
> (store-raw-append store "RAWPULSEOX" newv)
> (store-raw-length store "RAWPULSEOX")
8
Clone this wiki locally