-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathEncoder.php
More file actions
65 lines (60 loc) · 2.29 KB
/
Encoder.php
File metadata and controls
65 lines (60 loc) · 2.29 KB
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
<?php
declare(strict_types=1);
namespace PHPJava\Packages\java\util\Base64;
use PHPJava\Exceptions\NotImplementedException;
use PHPJava\Packages\java\lang\Object_;
/**
* The `Encoder` class was auto generated.
*
* @parent \PHPJava\Packages\java\lang\Object_
*/
class Encoder extends Object_
{
/**
* Encodes all bytes from the specified byte array into a newly-allocated byte array using the Base64 encoding scheme.
* Encodes all bytes from the specified byte array using the Base64 encoding scheme, writing the resulting bytes to the given output byte array, starting at offset 0.
* Encodes all remaining bytes from the specified byte buffer into a newly-allocated ByteBuffer using the Base64 encoding scheme.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#encode
* @param null|mixed $a
* @param null|mixed $b
* @throws NotImplementedException
*/
public function encode($a = null, $b = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Encodes the specified byte array into a String using the Base64 encoding scheme.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#encodeToString
* @param null|mixed $a
* @throws NotImplementedException
*/
public function encodeToString($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns an encoder instance that encodes equivalently to this one, but without adding any padding character at the end of the encoded byte data.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#withoutPadding
* @param null|mixed $a
* @throws NotImplementedException
*/
public function withoutPadding($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Wraps an output stream for encoding byte data using the Base64 encoding scheme.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/package-summary.html#wrap
* @param null|mixed $a
* @throws NotImplementedException
*/
public function wrap($a = null)
{
throw new NotImplementedException(__METHOD__);
}
}