-
Notifications
You must be signed in to change notification settings - Fork 86
u8vector u32
Chris Petersen edited this page Oct 16, 2014
·
1 revision
u8vector->u32 converts a u8vector to an 16bit unsigned integer. The conversion is big endian.
Parameter | Description |
---|---|
v | Input u8vector |
ofs | Optional: Start position offset |
Example 1: Show some unsigned u8vector to number conversions
> (define v (u8vector 128 129 128 129 128 129 128 129 128 129 128 129))
> (u8vector->u16 v)
32897
> (u8vector->u24 v)
8421760
> (u8vector->u32 v)
2155970689
> (u8vector->u48 v)
141293695107201
> (u8vector->u64 v)
9259823602545557633
> (u8vector->u96 v)
39770639539662072385974141057
-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip