DataBufferHolder.java
768 Bytes
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.document.xmlform;
import com.adobe.document.xmlform.DataBufferHelper;
import org.omg.CORBA.TypeCode;
import org.omg.CORBA.portable.InputStream;
import org.omg.CORBA.portable.OutputStream;
import org.omg.CORBA.portable.Streamable;
public final class DataBufferHolder
implements Streamable {
public byte[] value;
public DataBufferHolder() {
}
public DataBufferHolder(byte[] initial) {
this.value = initial;
}
public TypeCode _type() {
return DataBufferHelper.type();
}
public void _read(InputStream in) {
this.value = DataBufferHelper.read(in);
}
public void _write(OutputStream out) {
DataBufferHelper.write(out, this.value);
}
}