Expand description
Byte construction primitives.
Conversions from numeric values to fixed-width big-endian byte strings, for binary protocol encoders written in Seq itself (OSC, DNS, NTP, MessagePack, Protobuf, etc).
Output Strings are byte-clean — SeqString carries arbitrary
bytes since the byte-cleanliness landing, so a Seq program can
pack and concat these into a complete wire payload and hand it
straight to udp.send-to / tcp.write / file.spit.
These functions are exported with C ABI for LLVM codegen.
Re-exports§
pub use patch_seq_float_to_bytes_f32_be as float_to_bytes_f32_be;pub use patch_seq_int_to_bytes_i32_be as int_to_bytes_i32_be;
Functions§
- patch_
seq_ ⚠float_ to_ bytes_ f32_ be - Convert Float to 4-byte big-endian f32 String: ( Float – String )
- patch_
seq_ ⚠int_ to_ bytes_ i32_ be - Convert Int to 4-byte big-endian i32 String: ( Int – String )