atoulme commented on issue #88: URL: https://github.com/apache/incubator-tuweni/issues/88#issuecomment-657355464
You can also do this: `Bytes.wrapByteBuf(buffer, 0, buffer.readableBytes())` which will give you the right size. Closing this issue, please feel free to reopen if there's more to this. ---------------------------------------------------------------- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tuweni.apache.org For additional commands, e-mail: dev-h...@tuweni.apache.org