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

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

Introduction

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

Prototype

void write(byte[] b);

Source Link

Usage

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

License:Apache License

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