struct Crowbar::Inspector::EntropyBlock

Overview

Represents a segmented block of data with Shannon entropy metrics

Included Modules

Defined in:

crowbar/inspector/analyzer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(index : Int32, offset_start : Int32, offset_end : Int32, entropy : Float64, classification : String) #

def self.new(pull : JSON::PullParser) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

Instance Method Detail

def classification : String #

def classification=(classification : String) #

def entropy : Float64 #

def entropy=(entropy : Float64) #

def index : Int32 #

def index=(index : Int32) #

def offset_end : Int32 #

def offset_end=(offset_end : Int32) #

def offset_start : Int32 #

def offset_start=(offset_start : Int32) #

def visual_bar(width : Int32 = 16) : String #