private int sendType(HeapDataOutputStream buf) throws IOException {
  if (structType != null) {
    buf.writeByte(TYPE_CHUNK);
    DataSerializer.writeObject(structType,buf);
    return sendBufferredData(buf,false);
  }
 else {
    return 0;
  }
}

private int sendType ( HeapDataOutputStream buf ) throws IOException { if ( structType != null ) { buf . writeByte ( TYPE_CHUNK ) ; DataSerializer . writeObject ( structType , buf ) ; return sendBufferredData ( buf , false ) ; } else { return 0 ; } }
return the size of type data
