public long get(long index) {
        int segmentIndex = (int)(index >> log2OfSegmentSize);

        if(segmentIndex >= segments.length || segments[segmentIndex] == null)
            return 0;
        
        int longInSegment = (int)(index & bitmask);
        return segments[segmentIndex][longInSegment];
    }
public long get(long index) {
        int segmentIndex = (int)(index >> log2OfSegmentSize);

        if(segmentIndex >= segments.length || segments[segmentIndex] == null)
            return 0;
        
        int longInSegment = (int)(index & bitmask);
        return segments[segmentIndex][longInSegment];
    }
public long get ( long index ) { int segmentIndex = ( int ) ( index >> log2OfSegmentSize ) ; if ( segmentIndex >= segments . length || segments [ segmentIndex ] == null ) return 0 ; int longInSegment = ( int ) ( index & bitmask ) ; return segments [ segmentIndex ] [ longInSegment ] ; }
Get the value of the byte at the specified index.
@param index the index
@return the byte value
Get the value of the byte at the specified index .