public void writeName(final String name) throws IOException {
  mPointers.writeInt(mDataSize);
  final byte[] rawChars=name.getBytes();
  mNameData.write(rawChars);
  mNameData.write(0);
  mDataSize+=rawChars.length + 1;
}

public void writeName ( final String name ) throws IOException { mPointers . writeInt ( mDataSize ) ; final byte [ ] rawChars = name . getBytes ( ) ; mNameData . write ( rawChars ) ; mNameData . write ( 0 ) ; mDataSize += rawChars . length + 1 ; }
writes a name to files .
