Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Instance Method

write(contentsOf:)

Write a sequence of byte chunks, in order This will copy the bytes into contiguous storage first. Use the Span APIs to avoid copies
func write(contentsOf chunks: some Sequence<some Sequence<UInt8>>) async throws