public int openHighLevelAPIField(int loc) { this.isStructured = PipeReader.isStructured(pipe, loc); this.length = Math.max(0, PipeReader.readBytesLength(pipe, loc)); this.bytesLowBound = this.position = PipeReader.readBytesPosition(pipe, loc); this.backing = PipeReader.readBytesBackingArray(pipe, loc); assert(this.backing!=null) : "The pipe must be init before use."; this.bytesHighBound = pipe.blobMask & (position + length); assert(Pipe.validatePipeBlobHasDataToRead(pipe, position, length)); return this.length; }
public int openHighLevelAPIField(int loc) { this.isStructured = PipeReader.isStructured(pipe, loc); this.length = Math.max(0, PipeReader.readBytesLength(pipe, loc)); this.bytesLowBound = this.position = PipeReader.readBytesPosition(pipe, loc); this.backing = PipeReader.readBytesBackingArray(pipe, loc); assert(this.backing!=null) : "The pipe must be init before use."; this.bytesHighBound = pipe.blobMask & (position + length); assert(Pipe.validatePipeBlobHasDataToRead(pipe, position, length)); return this.length; }
public int openHighLevelAPIField(int loc) { this.isStructured = PipeReader.isStructured(pipe, loc); this.length = Math.max(0, PipeReader.readBytesLength(pipe, loc)); this.bytesLowBound = this.position = PipeReader.readBytesPosition(pipe, loc); this.backing = PipeReader.readBytesBackingArray(pipe, loc); assert(this.backing!=null) : "The pipe must be init before use."; this.bytesHighBound = pipe.blobMask & (position + length); assert(Pipe.validatePipeBlobHasDataToRead(pipe, position, length)); return this.length; }