Class: Fontisan::Woff2::SfntChecksum::Table

Inherits:
Struct
  • Object
show all
Defined in:
lib/fontisan/woff2/sfnt_checksum.rb

Overview

Per-table data the checksum is computed over. tag is the 4-byte table tag, bytes is the (already reconstructed, post-transform) table data the decoder will see.

Instance Attribute Summary collapse

Instance Attribute Details

#bytesObject

Returns the value of attribute bytes

Returns:

  • (Object)

    the current value of bytes



20
21
22
# File 'lib/fontisan/woff2/sfnt_checksum.rb', line 20

def bytes
  @bytes
end

#tagObject

Returns the value of attribute tag

Returns:

  • (Object)

    the current value of tag



20
21
22
# File 'lib/fontisan/woff2/sfnt_checksum.rb', line 20

def tag
  @tag
end