Esc

set_bytes

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

Replaces bytes with an owned copy, including bytes from another decoded message.

Signature

set_bytes :: (owner: *$T, field: *[] u8, replacement: [] u8)

See also