- bytestring-segment bytevector kprocedure
Returns a list of bytestrings representing the consecutive subvectors of bytevector of length k. The last bytevector may be shorter than k.
(Extension based on string-segment from srfi-152. See also string-chop from (chicken string).)
(bytestring-segment #u8"Heart of Gold" 3) ⇒ (#u8"Hea" #u8"rt " #u8"of " #u8"Gol" #u8"d")