private TGMarker readMarker(int measure) throws IOException {
   TGMarker marker = getFactory().newMarker();
   marker.setMeasure(measure);
   marker.setTitle(readStringByteSizeOfInteger());
   readColor(marker.getColor());
   return marker;
 }
Example #2
0
  private TGMarker readMarker(int measure) {
    TGMarker marker = this.factory.newMarker();

    marker.setMeasure(measure);

    // leo el titulo
    marker.setTitle(readUnsignedByteString());

    // leo el color
    readRGBColor(marker.getColor());

    return marker;
  }