qingoba commented on issue #1540:
URL: 
https://github.com/apache/incubator-fury/issues/1540#issuecomment-2068649817

   In function `public MetaString encode(String input, Encoding encoding)` in 
file `MetaStringEncoder.java`, there is a section of code:
   ```java
   default:
     byte[] bytes = input.getBytes(StandardCharsets.UTF_8);
     return new MetaString(
         input, Encoding.UTF_8, specialChar1, specialChar2, bytes, bytes.length 
* 8, 0);
   ```
   why the `numBits` is `0`, rather `bytes.length * 8` ?
   why the `numChars` is `bytes.length * 8`, rather `bytes.length` ?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to