@@ -183,26 +183,26 @@ export default class OctetstreamCodec implements ContentCodec {
183183 ? bytes . readInt16BE ( 0 )
184184 : bytes . readUInt16BE ( 0 )
185185 : signed
186- ? bytes . readInt16LE ( 0 )
187- : bytes . readUInt16LE ( 0 ) ;
186+ ? bytes . readInt16LE ( 0 )
187+ : bytes . readUInt16LE ( 0 ) ;
188188
189189 case 32 :
190190 return bigEndian
191191 ? signed
192192 ? bytes . readInt32BE ( 0 )
193193 : bytes . readUInt32BE ( 0 )
194194 : signed
195- ? bytes . readInt32LE ( 0 )
196- : bytes . readUInt32LE ( 0 ) ;
195+ ? bytes . readInt32LE ( 0 )
196+ : bytes . readUInt32LE ( 0 ) ;
197197
198198 default : {
199199 const result = bigEndian
200200 ? signed
201201 ? bytes . readIntBE ( 0 , dataLength / 8 )
202202 : bytes . readUIntBE ( 0 , dataLength / 8 )
203203 : signed
204- ? bytes . readIntLE ( 0 , dataLength / 8 )
205- : bytes . readUIntLE ( 0 , dataLength / 8 ) ;
204+ ? bytes . readIntLE ( 0 , dataLength / 8 )
205+ : bytes . readUIntLE ( 0 , dataLength / 8 ) ;
206206 // warn about numbers being too big to be represented as safe integers
207207 if ( ! Number . isSafeInteger ( result ) ) {
208208 warn ( "Result is not a safe integer" ) ;
@@ -460,8 +460,8 @@ export default class OctetstreamCodec implements ContentCodec {
460460 ? buf . writeInt16BE ( value , 0 )
461461 : buf . writeUInt16BE ( value , 0 )
462462 : signed
463- ? buf . writeInt16LE ( value , 0 )
464- : buf . writeUInt16LE ( value , 0 ) ;
463+ ? buf . writeInt16LE ( value , 0 )
464+ : buf . writeUInt16LE ( value , 0 ) ;
465465 break ;
466466
467467 case 4 :
@@ -470,8 +470,8 @@ export default class OctetstreamCodec implements ContentCodec {
470470 ? buf . writeInt32BE ( value , 0 )
471471 : buf . writeUInt32BE ( value , 0 )
472472 : signed
473- ? buf . writeInt32LE ( value , 0 )
474- : buf . writeUInt32LE ( value , 0 ) ;
473+ ? buf . writeInt32LE ( value , 0 )
474+ : buf . writeUInt32LE ( value , 0 ) ;
475475 break ;
476476
477477 default :
0 commit comments