Esc

write_bytes

procedureextensionsince 0.36.1Source
  • macOS: write_bytes works on macOS
  • Linux: write_bytes works on Linux
  • Windows: write_bytes works on Windows
  • Wasm: write_bytes works on Wasm

Appends bytes to a sized output buffer. Up to 16 bytes are copied with two overlapping fixed-size moves, which compile to plain loads and stores instead of a memcpy call.

Signature

write_bytes :: (w: *Writer, bytes: [] u8)

See also