class DexDataWriter extends BufferedOutputStream {

    @Override
    public void write(int b) throws IOException {
        filePosition++;
        super.write(b);
    }

    public  DexDataWriter(@Nonnull OutputStream output, int filePosition);
    public  DexDataWriter(@Nonnull OutputStream output, int filePosition, int bufferSize);

}