chickadee » srfi-4 » u8vector->blob

u8vector->blob U8VECTORprocedure
s8vector->blob S8VECTORprocedure
u16vector->blob U16VECTORprocedure
s16vector->blob S16VECTORprocedure
u32vector->blob U32VECTORprocedure
s32vector->blob S32VECTORprocedure
f32vector->blob F32VECTORprocedure
f64vector->blob F64VECTORprocedure
u8vector->blob/shared U8VECTORprocedure
s8vector->blob/shared S8VECTORprocedure
u16vector->blob/shared U16VECTORprocedure
s16vector->blob/shared S16VECTORprocedure
u32vector->blob/shared U32VECTORprocedure
s32vector->blob/shared S32VECTORprocedure
f32vector->blob/shared F32VECTORprocedure
f64vector->blob/shared F64VECTORprocedure

Each of these procedures return the contents of the given vector as a 'packed' blob. The byte order in that vector is platform-dependent (for example little-endian on an Intel processor). The /shared variants return a blob that shares memory with the contents of the vector.