Categories: Java | Files/Data | Code Examples | How To
This page was last modified 10:55, 28 November 2007.
How to manipulate a data buffer
From Forum Nokia Wiki
A Java ME tip illustrating an alternative way to manipulate the data buffer using the setData( ) method to replace the Datagram's data buffer with a new one.
byte[] dataBytes = "Hello, world\n".getBytes( ); dgram.setData(dataBytes, 0, dataBytes.length); sender.send(dgram);
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Heap Issues | dtripathy | General Symbian C++ | 6 | 2006-08-10 09:57 |
| Buffer problems | daip02 | General Symbian C++ | 2 | 2004-02-12 12:43 |
| MaiscBuffercopied call back issue | bharatuppal | Symbian Media (Graphics & Sounds) | 0 | 2007-02-08 17:54 |
| Converting a char* string to TPtrC datatype | sujoydas | General Symbian C++ | 8 | 2004-04-08 09:44 |
| Audio playback 6230i | julianls | Audio | 0 | 2006-04-02 18:53 |
