/usr/share/doc/libxmlrpc-light-ocaml-dev/html/api/XmlRpcBase64.html is in libxmlrpc-light-ocaml-dev 0.6.1-3+b7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="XmlRpc.html">
<link rel="next" href="XmlRpcDateTime.html">
<link rel="Up" href="index.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of class attributes" rel=Appendix href="index_attributes.html">
<link title="Index of class methods" rel=Appendix href="index_methods.html">
<link title="Index of classes" rel=Appendix href="index_classes.html">
<link title="Index of class types" rel=Appendix href="index_class_types.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="XmlRpc" rel="Chapter" href="XmlRpc.html">
<link title="XmlRpcBase64" rel="Chapter" href="XmlRpcBase64.html">
<link title="XmlRpcDateTime" rel="Chapter" href="XmlRpcDateTime.html">
<link title="XmlRpcServer" rel="Chapter" href="XmlRpcServer.html"><title>XmlRpcBase64</title>
</head>
<body>
<div class="navbar"><a class="pre" href="XmlRpc.html" title="XmlRpc">Previous</a>
<a class="up" href="index.html" title="Index">Up</a>
<a class="post" href="XmlRpcDateTime.html" title="XmlRpcDateTime">Next</a>
</div>
<h1>Module <a href="type_XmlRpcBase64.html">XmlRpcBase64</a></h1>
<pre><span class="keyword">module</span> XmlRpcBase64: <code class="code">sig</code> <a href="XmlRpcBase64.html">..</a> <code class="code">end</code></pre><div class="info module top">
Base64 codec.
<p>
8-bit characters are encoded into 6-bit ones using ASCII lookup tables.
Default tables maps 0..63 values on characters A-Z, a-z, 0-9, '+' and '/'
(in that order).<br>
</div>
<hr width="100%">
<pre><span id="EXCEPTIONInvalid_char"><span class="keyword">exception</span> Invalid_char</span></pre>
<div class="info ">
This exception is raised when reading an invalid character
from a base64 input.<br>
</div>
<pre><span id="EXCEPTIONInvalid_table"><span class="keyword">exception</span> Invalid_table</span></pre>
<div class="info ">
This exception is raised if the encoding or decoding table
size is not correct.<br>
</div>
<pre><span id="TYPEencoding_table"><span class="keyword">type</span> <code class="type"></code>encoding_table</span> = <code class="type">char array</code> </pre>
<div class="info ">
An encoding table maps integers 0..63 to the corresponding char.<br>
</div>
<pre><span id="TYPEdecoding_table"><span class="keyword">type</span> <code class="type"></code>decoding_table</span> = <code class="type">int array</code> </pre>
<div class="info ">
A decoding table maps chars 0..255 to the corresponding 0..63 value
or -1 if the char is not accepted.<br>
</div>
<pre><span id="VALstr_encode"><span class="keyword">val</span> str_encode</span> : <code class="type">?tbl:<a href="XmlRpcBase64.html#TYPEencoding_table">encoding_table</a> -> string -> string</code></pre><div class="info ">
Encode a string into Base64.<br>
</div>
<pre><span id="VALstr_decode"><span class="keyword">val</span> str_decode</span> : <code class="type">?tbl:<a href="XmlRpcBase64.html#TYPEdecoding_table">decoding_table</a> -> string -> string</code></pre><div class="info ">
Decode a string encoded into Base64, raise <code class="code">Invalid_char</code> if a
character in the input string is not a valid one.<br>
</div>
<pre><span id="VALencode"><span class="keyword">val</span> encode</span> : <code class="type">?tbl:<a href="XmlRpcBase64.html#TYPEencoding_table">encoding_table</a> -> char Stream.t -> char Stream.t</code></pre><div class="info ">
Generic base64 encoding over a character stream.<br>
</div>
<pre><span id="VALdecode"><span class="keyword">val</span> decode</span> : <code class="type">?tbl:<a href="XmlRpcBase64.html#TYPEdecoding_table">decoding_table</a> -> char Stream.t -> char Stream.t</code></pre><div class="info ">
Generic base64 decoding over a character stream.<br>
</div>
<pre><span id="VALmake_decoding_table"><span class="keyword">val</span> make_decoding_table</span> : <code class="type"><a href="XmlRpcBase64.html#TYPEencoding_table">encoding_table</a> -> <a href="XmlRpcBase64.html#TYPEdecoding_table">decoding_table</a></code></pre><div class="info ">
Create a valid decoding table from an encoding one.<br>
</div>
</body></html>
|