module Thrift::Base64Extension::FromBase64
Public Instance Methods
from_base64(blob, protocol = BinaryProtocolFactory.new)
click to toggle source
# File lib/thrift/base64.rb, line 24 def from_base64(blob, protocol = BinaryProtocolFactory.new) Base64Deserializer.new(protocol).deserialize(new, blob) end
from_compact_base64(blob)
click to toggle source
# File lib/thrift/base64.rb, line 28 def from_compact_base64(blob) from_base64 blob, CompactProtocolFactory.new end