Example usage for org.apache.poi.util LittleEndianOutput writeShort

List of usage examples for org.apache.poi.util LittleEndianOutput writeShort

Introduction

In this page you can find the example usage for org.apache.poi.util LittleEndianOutput writeShort.

Prototype

void writeShort(int v);

Source Link

Usage

From source file:org.ddt.listener.records.DConRefRecord.java

License:Apache License

@Override
protected void serialize(LittleEndianOutput out) {
    out.writeShort(firstRow);
    out.writeShort(lastRow);/*  w  w  w .ja v a  2s .c  o  m*/
    out.writeByte(firstCol);
    out.writeByte(lastCol);
    out.writeShort(charCount);
    out.writeByte(charType);
    out.write(path);
    if (path[0] == 0x02)
        out.write(_unused);
}