package P9P.msg;
import P9P.type.*;
import java.io.*;
public class Tread9P extends tmsg9P {
public int9P fid = new int9P();
public long9P offset = new long9P();
public int9P count = new int9P();
public void write(ByteArrayOutputStream buf) {
type.write(buf);
tag.write(buf);
fid.write(buf);
offset.write(buf);
count.write(buf);
}
public void read (byte[] msg, int i) {
type.read(msg,i);
tag.read(msg,i+=1);
fid.read(msg,i+=2);
offset.read(msg,i+=4);
count.read(msg,i+8);
}
public String toString() {
return tagDb()+"Tread fid:"+fid+"offset:"+offset+"count:"+count;
}
}