module HexaPDF::DictionaryFields::PDFByteStringConverter

Converter module for binary string fields to automatically convert a string into binary encoding.

Public Class Methods

usable_for?(type) click to toggle source

This converter is usable if the type is PDFByteString.

# File lib/hexapdf/dictionary_fields.rb, line 252
def self.usable_for?(type)
  type == PDFByteString
end