How to convert an image to byte array in Java Convert BLOB to Byte Array in Java With an Easy Example If you are still interested then you can learn more about BLOB from here: What is BLOB Data Type? The only difference between these is – The maximum amount of data that can be stored by each blob. Here we will explain everything assuming that you are using MySQL and You want to convert BLOB data type into a Byte array in Java. In order to achieve BLOB to byte array conversion in Java, we need to use getBytes() method. As this is CodeSpeedy so we will always go for the easiest and best understandable method to achieve our goal. In this Java tutorial, we are going to learn how to convert BLOB to Byte Array in Java.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |