-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathDataOutputStream.php
More file actions
196 lines (179 loc) Β· 6.48 KB
/
DataOutputStream.php
File metadata and controls
196 lines (179 loc) Β· 6.48 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
<?php
declare(strict_types=1);
namespace PHPJava\Packages\java\io;
use PHPJava\Exceptions\NotImplementedException;
// use PHPJava\Packages\java\io\DataOutput;
// use PHPJava\Packages\java\lang\AutoCloseable;
/**
* The `DataOutputStream` class was auto generated.
*
* @parent \PHPJava\Packages\java\lang\Object_
* @parent \PHPJava\Packages\java\io\OutputStream
* @parent \PHPJava\Packages\java\io\FilterOutputStream
*/
class DataOutputStream extends FilterOutputStream // implements DataOutput, AutoCloseable
{
/**
* The number of bytes written to the data output stream so far.
*
* @var mixed $written
*/
protected $written;
/**
* Flushes this data output stream.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#flush
* @param null|mixed $a
* @throws NotImplementedException
*/
public function flush($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns the current value of the counter written, the number of bytes written to this data output stream so far.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#size
* @param null|mixed $a
* @throws NotImplementedException
*/
public function size($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Writes len bytes from the specified byte array starting at offset off to the underlying output stream.
* Writes the specified byte (the low eight bits of the argument b) to the underlying output stream.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#write
* @param null|mixed $a
* @param null|mixed $b
* @param null|mixed $c
* @throws NotImplementedException
*/
public function write($a = null, $b = null, $c = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Writes a boolean to the underlying output stream as a 1-byte value.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#writeBoolean
* @param null|mixed $a
* @throws NotImplementedException
*/
public function writeBoolean($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Writes out a byte to the underlying output stream as a 1-byte value.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#writeByte
* @param null|mixed $a
* @throws NotImplementedException
*/
public function writeByte($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Writes out the string to the underlying output stream as a sequence of bytes.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#writeBytes
* @param null|mixed $a
* @throws NotImplementedException
*/
public function writeBytes($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Writes a char to the underlying output stream as a 2-byte value, high byte first.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#writeChar
* @param null|mixed $a
* @throws NotImplementedException
*/
public function writeChar($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Writes a string to the underlying output stream as a sequence of characters.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#writeChars
* @param null|mixed $a
* @throws NotImplementedException
*/
public function writeChars($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Converts the double argument to a long using the doubleToLongBits method in class Double, and then writes that long value to the underlying output stream as an 8-byte quantity, high byte first.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#writeDouble
* @param null|mixed $a
* @throws NotImplementedException
*/
public function writeDouble($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Converts the float argument to an int using the floatToIntBits method in class Float, and then writes that int value to the underlying output stream as a 4-byte quantity, high byte first.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#writeFloat
* @param null|mixed $a
* @throws NotImplementedException
*/
public function writeFloat($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Writes an int to the underlying output stream as four bytes, high byte first.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#writeInt
* @param null|mixed $a
* @throws NotImplementedException
*/
public function writeInt($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Writes a long to the underlying output stream as eight bytes, high byte first.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#writeLong
* @param null|mixed $a
* @throws NotImplementedException
*/
public function writeLong($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Writes a short to the underlying output stream as two bytes, high byte first.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#writeShort
* @param null|mixed $a
* @throws NotImplementedException
*/
public function writeShort($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Writes a string to the underlying output stream using modified UTF-8 encoding in a machine-independent manner.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#writeUTF
* @param null|mixed $a
* @throws NotImplementedException
*/
public function writeUTF($a = null)
{
throw new NotImplementedException(__METHOD__);
}
}