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

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

Introduction

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

Prototype

void writeByte(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);/*from  ww  w . j  a  va2  s.c  o 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);
}