Class: Cabriolet::Binary::OABStructures::PatchBlockHeader

Inherits:
BinData::Record
  • Object
show all
Defined in:
lib/cabriolet/binary/oab_structures.rb

Overview

OAB block header for patch files

Structure (16 bytes):

  • 4 bytes: patch_size (compressed patch data size)

  • 4 bytes: target_size (decompressed output block size)

  • 4 bytes: source_size (base data needed for this block)

  • 4 bytes: crc (CRC32 of decompressed output)