@ Deprecated public void overwriteRecordAt ( long pointer , T record ) throws IOException { long tmpPointer = this . writeView . getCurrentPointer ( ) ; this . writeView . resetTo ( pointer ) ; this . serializer . serialize ( record , this . writeView ) ; this . writeView . resetTo ( tmpPointer ) ; }
UNSAFE!! overwrites record causes inconsistency or data loss for overwriting everything but records of the exact same size