Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Byte[] to csv

Posted on 2014-08-27
Medium Priority
Last Modified: 2014-08-28

I have a byte array which i can write to a file and when i checked the content, it's hex values. But actually the values should be csv. I couldn't find a way to convert this into csv in java. Any hand?

Question by:jazzIIIlove
  • 2
LVL 12

Expert Comment

by:Radek Baranowski
ID: 40287939
maybe start with this:
LVL 86

Accepted Solution

CEHJ earned 2000 total points
ID: 40287962
What is the source of the byte array? If you can't write it with an OutputStream to a text file and read it, then the contents is not text to begin with
LVL 86

Expert Comment

ID: 40291670

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses
Course of the Month13 days, 5 hours left to enroll

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question