Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 108
Registered: ‎08-05-2008
My Device: Not Specified
Accepted Solution

What's the difference between DataOutputStream and OutputStream?

Please don't say lipstick.
BlackBerry Development Advisor
Posts: 15,698
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: What's the difference between DataOutputStream and OutputStream?

OutputStream accepts bytes or byte arrays and writes out a byte stream.  DataOutputStream accepts other primitive types (int, long, float, double, etc...) and writes out a byte stream.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker