class HDF5::Dataset

Defined in:

hdf5/dataset.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : LibHDF5::Hid) #

[View source]

Instance Method Detail

def attrs : Attributes #

[View source]
def close #

[View source]
def dataspace : Dataspace #

[View source]
def datatype : Datatype #

[View source]
def finalize #

[View source]
def id : LibHDF5::Hid #

[View source]
def rank : Int32 #

[View source]
def read(type : T.class, selection : Selection) : Array(T) forall T #

[View source]
def read(type : T.class) : Array(T) forall T #

[View source]
def read_strings : Array(String) #

[View source]
def read_to(buf : Pointer(T), type : T.class) forall T #

[View source]
def resize(new_shape : Indexable) : Nil #

[View source]
def shape : Array(UInt64) #

Crystal-native shape API


[View source]
def size : UInt64 #

[View source]
def storage_size : UInt64 #

[View source]
def write(data : Array(T), selection : Selection) forall T #

[View source]
def write(data : Array(T)) forall T #

[View source]
def write(data : Slice(T)) forall T #

[View source]
def write_strings(data : Array(String)) #

[View source]