Closed NanaDada closed 2 years ago
Hi this is just a utility function to convert a hex string to a byte array
0x
you can omit this.It also doesn't check if the input is not null, but it's an internal method of the library. Made public, as Java can't restrict it to compilation unit.
Describe the bug There are a few issues with the current implementation of MeshParserUtils.toByteArray()
It's going to fail:
hexString
is of odd length.hexString
starts with"0x"
.