class BinData::StringArgProcessor
def sanitized_pad_byte(byte)
def sanitized_pad_byte(byte) pad_byte = byte.is_a?(Integer) ? byte.chr : byte.to_s if pad_byte.bytesize > 1 raise ArgumentError, ":pad_byte must not contain more than 1 byte" end pad_byte end