Trying to solve what should be a simple problem. Got a list of Bytes, want to convert it at the end of a function to an array of bytes.
What you can do is use commons-lang's ArrayUtils.toPrimitive(wrapperCollection):
Source From Here Preface Do you know the difference between the following syntax? view plain copy to clipboard print ? [x for ...