Пример #1
0
 protected internal CodestreamNode(
     CodestreamNode parent,
     long offset,
     long length)
     : base(parent, offset, length)
 {
     // created from an underlying stream
     IsFlushed = true;
 }
Пример #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="parent">
 ///     The parent element or null if its the JP2Codestream
 ///     The parent of a tile part is the codestream it belongs to
 ///     the parent of packet is the tile-part that it belongs to
 /// </param>
 /// <param name="offset">
 ///     The offset in bytes of this element from
 ///     its parent element
 /// </param>
 /// <param name="length"></param>
 public CodestreamElement(CodestreamNode parent, long offset, long length)
 {
     this._offset = offset;
     this.Parent  = parent;
     this.Length  = length;
 }
Пример #3
0
 protected internal CodestreamNode(CodestreamNode parent)
     : base(parent, OFFSET_NOT_SET, -1)
 {
     // created from scratch
     IsOpened = true;
 }