Thanks!!
I have tested with:
Code:
bloque.write(null,registro,0,16,0);
And works well,
Later with the purpose of write in the sector without having to write in each block. I have tryed with:
Code:
sector = conn.getSector(1);
sector.write(null,registro,0,128,0);
With the result of java.lang.IllegalArgumentException: Invalid sector byte range
Taking in account that sector 1 have 14 data block of 16 bytes, and 128 is a multiple of block size i think that no source or destination byte range is out of bounds.
Have you got some idea?