store raw length - part-cw/lambdanative GitHub Wiki
(store-raw-length store id)
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