class DexDataWriter extends BufferedOutputStream {

    public void writeUbyte(int value) throws IOException {
        if (value < 0 || value > 0xFF) {
            throw new ExceptionWithContext("Unsigned byte value out of range: %d", value);
        }
        write(value);
    }

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

}