module PNM
Defined in:
pnm.crpnm/pbm.cr
pnm/pgm.cr
pnm/ppm.cr
Class Method Summary
-
.datatype?(data : Slice(UInt8))
Returns the file's datatype (returns nil if not supported by this module)
Class Method Detail
def self.datatype?(data : Slice(UInt8))
#
Returns the file's datatype (returns nil if not supported by this module)