{"size": 1825, "ext": "scrbl", "max_stars_repo_path": "doc/utils/rfc/quoted-printable.scrbl", "max_stars_repo_name": "david135/sagittarius-scheme", "max_stars_repo_stars_event_min_datetime": "2015-11-07T07:13:35.000Z", "max_stars_repo_stars_event_max_datetime": "2022-02-15T03:35:14.000Z", "max_issues_repo_path": "doc/utils/rfc/quoted-printable.scrbl", "max_issues_repo_name": "david135/sagittarius-scheme", "max_issues_repo_issues_event_min_datetime": "2016-04-28T21:59:59.000Z", "max_issues_repo_issues_event_max_datetime": "2021-07-01T08:42:21.000Z", "max_forks_repo_path": "doc/utils/rfc/quoted-printable.scrbl", "max_forks_repo_name": "david135/sagittarius-scheme", "max_forks_repo_forks_event_min_datetime": "2016-12-28T12:41:23.000Z", "max_forks_repo_forks_event_max_datetime": "2020-02-26T20:52:02.000Z"}
{"max_stars_count": 39, "max_issues_count": 3, "max_forks_count": 4, "avg_line_length": 35.0961538462, "max_line_length": 100, "alphanum_fraction": 0.7698630137}
@; -*- coding: utf-8 -*-
@subsection[:tag "rfc.quoted-printable"]{(rfc quoted-printable) - Base 64 encode and decode library}

@define[Library]{@name{(rfc quoted-printable)}}
@desc{This library provides quoted printable encoding and decoding procedures.}

@subsubsection{Encoding procedures}

@define[Function]{@name{quoted-printable-encode}
 @args{bv :key (line-width 76) (binary? #f)}}
@desc{@var{bv} must be a bytevector.

Encodes given bytevector to quoted printable encoded bytevector.

The keyword argument @var{line-width} specifies where the encode procedure
should put linefeed. If this is less than 1 or #f, encoder does not put
linefeed.

If the keyword argument @var{binary?} is not #f, then the procedure encodes
#x0a and #x0b to @code{=0A} and @code{=0D} respectively.
}

@define[Function]{@name{quoted-printable-encode-string string}
 @args{:key (line-width 76) transcoder (binary? #f)}}
@desc{Convenient procedure for string.

Encodes given @var{string} to quoted printable encoded string.

The keyword argument @var{transcoder} is used to convert given string to
bytevector. The converted bytevector will be passed to the
@code{quoted-printable-encode} procedure. The default is utf-8 codec with
NONE eol style.
}

@subsubsection{Decoding procedures}

@define[Function]{@name{quoted-printable-decode} @args{bv}}
@desc{@var{bv} must be a bytevector.

Decode quoted printable encoded bytevector to original bytevector.
}

@define[Function]{@name{quoted-printable-decode-string}
 @args{string :key (transcoder (native-transcoder))}}
@desc{Convenient procedure.

Decode quoted printable encoded string to original string. The procedure is
using @code{quoted-printable-decode}.

The keyword argument specifies how to convert the decoded bytevector to string.
If this is #f, the procedure returns raw bytevector.
}