FileDocCategorySizeDatePackage
UnhandledDataStructure.javaAPI DocApache Poi 3.0.11523Mon Jan 01 18:55:34 GMT 2007org.apache.poi.hwpf.model

UnhandledDataStructure

public class UnhandledDataStructure extends Object

Fields Summary
byte[]
_buf
Constructors Summary
public UnhandledDataStructure(byte[] buf, int offset, int length)

//    System.out.println("Yes, using my code");
    _buf = new byte[length];
    if (offset + length > buf.length)
    {
      throw new IndexOutOfBoundsException("buffer length is " + buf.length +
                                          "but code is trying to read " + length + " from offset " + offset);
    }
    System.arraycopy(buf, offset, _buf, 0, length);
  
Methods Summary
byte[]getBuf()

    return _buf;