05-25-2009 01:57 AM
hi, how can i add more data to the buffer that already has some values? example:
byte _byte = new byte; _byte = 'A'; _byte = 'B'; _byte = 'C'; DataBuffer_buffer = new DataBuffer(_byte, 0, 3, false);
ok, here i've got values 'A','B', 'C' in my dataBuffer. but later i wanna put some more bytes in it:
byte _secondByte = new byte; _secondByte = 'D'; _secondByte = 'E'; _secondByte = 'F';
and now i want to add _secondByte to the _buffer but without loosing A,B,C.. i want to have in my _dataBuffer A,B,C,D,E,F values..
i tried methods as setData but they overwrite the data that was put at the beginning (A,B,C).
can anyone suggest me anything?
Solved! Go to Solution.
05-25-2009 02:30 AM
04-14-2010 07:26 AM
Can we write data from databuffer into file on SDCard?
Can we read data from file on SDCard to databuffer?
I wanted to write the databuffer data to file and read the data from the file.
Please provide sample if anyone have.
Thanks in advance.