receiveWithHeader

Undocumented in source. Be warned that the author may not have intended to support it.
@SILdoc(`zfsReceiveWithHeader Like lzc_receive, but allows the caller to read the begin record and then to pass it in. That could be useful if the caller wants to derive, for example, the snapname or the origin parameters based on the information contained in the begin record. The begin record must be in its original form as read from the stream, in other words, it should not be byteswapped. The 'resumable' parameter allows to obtain the same behavior as with lzc_receive_resumable. `)
void
receiveWithHeader
(
string snapName
,
Socket socket
,
string origin = ""
,
bool force = false
,
bool raw = false
,
string[string] properties = string[string].init
,
bool resumable = true
,)

Meta