Nashatyrev commented on issue #186:
URL: 
https://github.com/apache/incubator-tuweni/issues/186#issuecomment-745952485


   I believe this is a closely related case: 
   ```java
       Bytes.concatenate(
           Bytes.wrap(
               Bytes.wrap(new byte[32]),
               Bytes.wrap(new byte[6])
           ).slice(0, 37),
           Bytes.wrap(new byte[1]));
   ```
   
   throws the exception:
   ```
   java.lang.IllegalStateException: element sizes do not match total size
        at 
org.apache.tuweni.bytes.ConcatenatedBytes.copyToUnchecked(ConcatenatedBytes.java:206)
        at 
org.apache.tuweni.bytes.ConcatenatedBytes.copyTo(ConcatenatedBytes.java:187)
        at org.apache.tuweni.bytes.Bytes.concatenate(Bytes.java:126)
   ```


----------------------------------------------------------------
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.

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