struct Meow

Defined in:

meow.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(file : File, seed : Int32 | UInt64 = 0_u64) #

[View source]
def self.new(str : String, seed : Int32 | UInt64 = 0_u64) #

[View source]

Class Method Detail

def self.from_file(filename : String) #

[View source]
def self.mhash(string : String, seed : Int32 | UInt64 = 0_u64) #

[View source]
def self.mhash(bytes = Bytes, seed : Int32 | UInt64 = 0_u64) #

[View source]
def self.mhash(size : Int32 | Uint64, pointer : Pointer, seed : Int32 | UInt64 = 0_u64) #

[View source]

Instance Method Detail

def bytes : Bytes #

[View source]
def bytes=(bytes : Bytes) #

[View source]
def mhash #

[View source]
def seed : UInt64 #

[View source]
def seed=(seed : UInt64) #

[View source]
def to_s #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]