Sha256: 97f0b621a9ddd283c5bdc4bb6cf8de6bcfebf829dbe132f1fd5faa1f559128c8
Contents?: true
Size: 356 Bytes
Versions: 20
Compression:
Stored size: 356 Bytes
Contents
# frozen_string_literal: true module Puppet module Util module Windows module String def wide_string(str) # if given a nil string, assume caller wants to pass a nil pointer to win32 return nil if str.nil? str.encode('UTF-16LE') end module_function :wide_string end end end end
Version data entries
20 entries across 20 versions & 1 rubygems