struct
Chem::DCD::Encoding
- Chem::DCD::Encoding
- Struct
- Value
- Object
Overview
Binary encoding for reading DCD content.
Defined in:
chem/formats/dcd.crConstructors
Instance Method Summary
-
#byte_format : IO::ByteFormat
Byte order (big or little endian) of the DCD content.
-
#marker_type : Int32.class | Int64.class
Type of the block marker (32 or 64 bits).
-
#read(io : IO, type : T.class) : T forall T
Reads a value of the given type from io using the byte format.
-
#read_marker(io : IO) : Int32 | Int64
Reads a block marker from io.
Constructor Detail
Instance Method Detail
Type of the block marker (32 or 64 bits).
Reads a value of the given type from io using the byte format.