When using the StringToBytes() function it returns one less byte due to the -1 at the end of the return. The function takes a string and converts it to bytes but it always returns one less byte than what was put in by the string. This causes the number of bytes returned to be in-accurate.
Result: StringToBytes function returns NumBytes - 1
Expected: StringToBytes function returns NumBytes
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-53750 in the post.
0 |
Component | UE - Foundation - Core |
---|---|
Affects Versions | 4.17.2, 4.18.2, 4.19 |
Target Fix | 4.20 |
Created | Jan 4, 2018 |
---|---|
Resolved | Jan 8, 2018 |
Updated | May 31, 2018 |