Module: Omnizip::Implementations::SevenZip::LZMA2::Encoder::StringCompat
- Defined in:
- lib/omnizip/implementations/seven_zip/lzma2/encoder.rb
Overview
Compatibility helper for Ruby 3.0-3.1
Class Method Summary collapse
Class Method Details
.byteslice(string, start, length) ⇒ Object
278 279 280 |
# File 'lib/omnizip/implementations/seven_zip/lzma2/encoder.rb', line 278 def self.byteslice(string, start, length) string.byteslice(start, length) end |