struct Teeplate::Base64Data
- Teeplate::Base64Data
- Struct
- Value
- Object
Included Modules
Defined in:
lib/base64_data.crConstructors
Instance Method Summary
- #encoded : String
-
#forces? : Bool
:nodoc:
-
#path : String
Returns a path string relative to a base location.
- #perm : File::Permissions
-
#perm? : UInt16
Returns permission.
- #size : UInt64
-
#size? : UInt64
Returns data size.
-
#write_to(io : IO)
Writes this data stream to a specified IO object.
Instance methods inherited from module Teeplate::AsDataEntry
path : String
path,
perm? : UInt16 | Nil
perm?,
size? : UInt64 | Nil
size?,
write_to(io : IO)
write_to
Constructor Detail
def self.new(path : String, size : UInt64, encoded : String, perm : File::Permissions = File::Permissions.from_value(420), force : Bool = false)
#
Instance Method Detail
def path : String
#
Description copied from module Teeplate::AsDataEntry
Returns a path string relative to a base location.
def perm? : UInt16
#
Description copied from module Teeplate::AsDataEntry
Returns permission.
If no specific permission, returns nil.
def size? : UInt64
#
Description copied from module Teeplate::AsDataEntry
Returns data size.
If the size can't be determined, returns nil.
def write_to(io : IO)
#
Description copied from module Teeplate::AsDataEntry
Writes this data stream to a specified IO object.