package jxl.biff.formula;

import common.Logger;

class CellReferenceError extends Operand implements ParsedThing {
  private static Logger logger = Logger.getLogger(CellReferenceError.class);
  
  public int read(byte[] data, int pos) {
    return 4;
  }
  
  public void getString(StringBuffer buf) {
    buf.append(FormulaErrorCode.REF.getDescription());
  }
  
  byte[] getBytes() {
    byte[] data = new byte[5];
    data[0] = Token.REFERR.getCode();
    return data;
  }
}
