-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathBuffer.php
More file actions
220 lines (202 loc) Β· 6.47 KB
/
Buffer.php
File metadata and controls
220 lines (202 loc) Β· 6.47 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
<?php
declare(strict_types=1);
namespace PHPJava\Packages\java\nio;
use PHPJava\Exceptions\NotImplementedException;
use PHPJava\Packages\java\lang\Object_;
/**
* The `Buffer` class was auto generated.
*
* @parent \PHPJava\Packages\java\lang\Object_
*/
class Buffer extends Object_
{
/**
* Returns the array that backs this buffer (optional operation).
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/package-summary.html#array
* @param null|mixed $a
* @throws NotImplementedException
*/
public function array($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the offset within this buffer's backing array of the first element of the buffer (optional operation).
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/package-summary.html#arrayOffset
* @param null|mixed $a
* @throws NotImplementedException
*/
public function arrayOffset($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns this buffer's capacity.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/package-summary.html#capacity
* @param null|mixed $a
* @throws NotImplementedException
*/
public function capacity($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Clears this buffer.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/package-summary.html#clear
* @param null|mixed $a
* @throws NotImplementedException
*/
public function clear($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Creates a new buffer that shares this buffer's content.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/package-summary.html#duplicate
* @param null|mixed $a
* @throws NotImplementedException
*/
public function duplicate($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Flips this buffer.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/package-summary.html#flip
* @param null|mixed $a
* @throws NotImplementedException
*/
public function flip($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Tells whether or not this buffer is backed by an accessible array.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/package-summary.html#hasArray
* @param null|mixed $a
* @throws NotImplementedException
*/
public function hasArray($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Tells whether there are any elements between the current position and the limit.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/package-summary.html#hasRemaining
* @param null|mixed $a
* @throws NotImplementedException
*/
public function hasRemaining($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Tells whether or not this buffer is direct.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/package-summary.html#isDirect
* @param null|mixed $a
* @throws NotImplementedException
*/
public function isDirect($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Tells whether or not this buffer is read-only.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/package-summary.html#isReadOnly
* @param null|mixed $a
* @throws NotImplementedException
*/
public function isReadOnly($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns this buffer's limit.
* Sets this buffer's limit.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/package-summary.html#limit
* @param null|mixed $a
* @throws NotImplementedException
*/
public function limit($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Sets this buffer's mark at its position.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/package-summary.html#mark
* @param null|mixed $a
* @throws NotImplementedException
*/
public function mark($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns this buffer's position.
* Sets this buffer's position.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/package-summary.html#position
* @param null|mixed $a
* @throws NotImplementedException
*/
public function position($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the number of elements between the current position and the limit.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/package-summary.html#remaining
* @param null|mixed $a
* @throws NotImplementedException
*/
public function remaining($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Resets this buffer's position to the previously-marked position.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/package-summary.html#reset
* @param null|mixed $a
* @throws NotImplementedException
*/
public function reset($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Rewinds this buffer.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/package-summary.html#rewind
* @param null|mixed $a
* @throws NotImplementedException
*/
public function rewind($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Creates a new buffer whose content is a shared subsequence of this buffer's content.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/package-summary.html#slice
* @param null|mixed $a
* @throws NotImplementedException
*/
public function slice($a = null)
{
throw new NotImplementedException(__METHOD__);
}
}