@@ -125,7 +125,6 @@ public function put(string $str){
125125 $ this ->buffer .= $ str ;
126126 }
127127
128-
129128 public function getBool () : bool {
130129 return $ this ->get (1 ) !== "\x00" ;
131130 }
@@ -137,7 +136,6 @@ public function putBool(bool $v){
137136 $ this ->buffer .= ($ v ? "\x01" : "\x00" );
138137 }
139138
140-
141139 public function getByte () : int {
142140 return ord ($ this ->get (1 ));
143141 }
@@ -149,7 +147,6 @@ public function putByte(int $v){
149147 $ this ->buffer .= chr ($ v );
150148 }
151149
152-
153150 public function getShort () : int {
154151 return Binary::readShort ($ this ->get (2 ));
155152 }
@@ -180,7 +177,6 @@ public function putLShort(int $v){
180177 $ this ->buffer .= Binary::writeLShort ($ v );
181178 }
182179
183-
184180 public function getTriad () : int {
185181 return Binary::readTriad ($ this ->get (3 ));
186182 }
@@ -203,7 +199,6 @@ public function putLTriad(int $v){
203199 $ this ->buffer .= Binary::writeLTriad ($ v );
204200 }
205201
206-
207202 public function getInt () : int {
208203 return Binary::readInt ($ this ->get (4 ));
209204 }
@@ -226,7 +221,6 @@ public function putLInt(int $v){
226221 $ this ->buffer .= Binary::writeLInt ($ v );
227222 }
228223
229-
230224 public function getFloat () : float {
231225 return Binary::readFloat ($ this ->get (4 ));
232226 }
0 commit comments