@@ -0,0 +1,1648 @@
+package com.op1.iff;%0A%0Aimport com.op1.iff.types.*;%0A%0Aimport java.io.DataOutputStream;%0Aimport java.io.IOException;%0A%0Apublic class IffWriter %7B%0A%0A    private final DataOutputStream dataOutputStream;%0A%0A    public IffWriter(DataOutputStream dataOutputStream) %7B%0A        this.dataOutputStream = dataOutputStream;%0A    %7D%0A%0A    public void write(SignedChar data) throws IOException %7B%0A        this.dataOutputStream.write(data.toByteArray());%0A    %7D%0A%0A    public void write(UnsignedChar data) throws IOException %7B%0A        this.dataOutputStream.write(data.toByteArray());%0A    %7D%0A%0A    public void write(SignedShort data) throws IOException %7B%0A        this.dataOutputStream.write(data.toByteArray());%0A    %7D%0A%0A    public void write(UnsignedShort data) throws IOException %7B%0A        this.dataOutputStream.write(data.toByteArray());%0A    %7D%0A%0A    public void write(SignedLong data) throws IOException %7B%0A        this.dataOutputStream.write(data.toByteArray());%0A    %7D%0A%0A    public void write(UnsignedLong data) throws IOException %7B%0A        this.dataOutputStream.write(data.toByteArray());%0A    %7D%0A%0A    public void write(Extended data) throws IOException %7B%0A        this.dataOutputStream.write(data.toByteArray());%0A    %7D%0A%0A    public void write(PString data) throws IOException %7B%0A        this.dataOutputStream.write(data.toByteArray());%0A    %7D%0A%0A    public void write(ID data) throws IOException %7B%0A        this.dataOutputStream.write(data.toByteArray());%0A    %7D%0A%0A    public void write(OSType data) throws IOException %7B%0A        this.dataOutputStream.write(data.toByteArray());%0A    %7D%0A%0A    public void write(byte%5B%5D bytes) throws IOException %7B%0A        this.dataOutputStream.write(bytes);%0A    %7D%0A%7D%0A

Create IffWriter.java