struct
Crowbar::Inspector::EntropyBlock
- Crowbar::Inspector::EntropyBlock
- Struct
- Value
- Object
Overview
Represents a segmented block of data with Shannon entropy metrics
Included Modules
- JSON::Serializable
Defined in:
crowbar/inspector/analyzer.crConstructors
- .new(index : Int32, offset_start : Int32, offset_end : Int32, entropy : Float64, classification : String)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
- #classification : String
- #classification=(classification : String)
- #entropy : Float64
- #entropy=(entropy : Float64)
- #index : Int32
- #index=(index : Int32)
- #offset_end : Int32
- #offset_end=(offset_end : Int32)
- #offset_start : Int32
- #offset_start=(offset_start : Int32)
- #visual_bar(width : Int32 = 16) : String
Constructor Detail
def self.new(index : Int32, offset_start : Int32, offset_end : Int32, entropy : Float64, classification : String)
#