-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathDataInput.php
More file actions
168 lines (153 loc) Β· 5.23 KB
/
DataInput.php
File metadata and controls
168 lines (153 loc) Β· 5.23 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
<?php
declare(strict_types=1);
namespace PHPJava\Packages\java\io;
use PHPJava\Exceptions\NotImplementedException;
/**
* The `DataInput` interface was auto generated.
*/
interface DataInput
{
/**
* Reads one input byte and returns true if that byte is nonzero, false if that byte is zero.
*
* @param mixed $a
* @throws NotImplementedException
* @return mixed
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#readBoolean
* @NotImplemented
*/
// public function readBoolean($a = null)
/**
* Reads and returns one input byte.
*
* @param mixed $a
* @throws NotImplementedException
* @return mixed
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#readByte
* @NotImplemented
*/
// public function readByte($a = null)
/**
* Reads two input bytes and returns a char value.
*
* @param mixed $a
* @throws NotImplementedException
* @return mixed
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#readChar
* @NotImplemented
*/
// public function readChar($a = null)
/**
* Reads eight input bytes and returns a double value.
*
* @param mixed $a
* @throws NotImplementedException
* @return mixed
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#readDouble
* @NotImplemented
*/
// public function readDouble($a = null)
/**
* Reads four input bytes and returns a float value.
*
* @param mixed $a
* @throws NotImplementedException
* @return mixed
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#readFloat
* @NotImplemented
*/
// public function readFloat($a = null)
/**
* Reads some bytes from an input stream and stores them into the buffer array b.
* Reads len bytes from an input stream.
*
* @param mixed $a
* @param mixed $b
* @param mixed $c
* @throws NotImplementedException
* @return mixed
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#readFully
* @NotImplemented
*/
// public function readFully($a = null, $b = null, $c = null)
/**
* Reads four input bytes and returns an int value.
*
* @param mixed $a
* @throws NotImplementedException
* @return mixed
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#readInt
* @NotImplemented
*/
// public function readInt($a = null)
/**
* Reads the next line of text from the input stream.
*
* @param mixed $a
* @throws NotImplementedException
* @return mixed
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#readLine
* @NotImplemented
*/
// public function readLine($a = null)
/**
* Reads eight input bytes and returns a long value.
*
* @param mixed $a
* @throws NotImplementedException
* @return mixed
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#readLong
* @NotImplemented
*/
// public function readLong($a = null)
/**
* Reads two input bytes and returns a short value.
*
* @param mixed $a
* @throws NotImplementedException
* @return mixed
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#readShort
* @NotImplemented
*/
// public function readShort($a = null)
/**
* Reads one input byte, zero-extends it to type int, and returns the result, which is therefore in the range 0 through 255.
*
* @param mixed $a
* @throws NotImplementedException
* @return mixed
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#readUnsignedByte
* @NotImplemented
*/
// public function readUnsignedByte($a = null)
/**
* Reads two input bytes and returns an int value in the range 0 through 65535.
*
* @param mixed $a
* @throws NotImplementedException
* @return mixed
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#readUnsignedShort
* @NotImplemented
*/
// public function readUnsignedShort($a = null)
/**
* Reads in a string that has been encoded using a modified UTF-8 format.
*
* @param mixed $a
* @throws NotImplementedException
* @return mixed
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#readUTF
* @NotImplemented
*/
// public function readUTF($a = null)
/**
* Makes an attempt to skip over n bytes of data from the input stream, discarding the skipped bytes.
*
* @param mixed $a
* @throws NotImplementedException
* @return mixed
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/package-summary.html#skipBytes
* @NotImplemented
*/
// public function skipBytes($a = null)
}