These lines are executed during the mp3 reception :
byte[] data = (byte[]) Storage.getInstance().readObject(myBytesArrayObjectName);
if (data == null) {
data = new byte[myBytesArrayLength];
data = Util.readFully(myInputStreamReader, data);;
Storage.getInstance().writeObject(myBytesArrayObjectName, data);
} else {
//In case I want to get back the bytes array
(byte[]) Storage.getInstance().readObject(myBytesArrayObjectName);
}
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/89a49de4-0f6e-4610-a9f3-a07a92c3ed7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.