Word description Decodes the first yEnc envelope, ignoring text before and after it. Returns the header and trailer metadata with string values and the decoded bytes. Filenames may contain spaces and equals signs. Sizes and any single-part CRC32 are checked; corrupt envelopes throw invalid-yenc.
Notes For a multipart envelope, decodes one part and checks its range, part number, size and required pcrc32. The ypart begin and end fields are included in the returned header as one-based, inclusive byte offsets. Separate parts are not assembled automatically. A whole-file crc32 is returned but can only be checked when the part covers the entire file. yenc-file produces single-part envelopes.