Class BinaryVersion0
java.lang.Object
gaiasky.data.group.BinaryIOBase
gaiasky.data.group.BinaryVersion0
- All Implemented Interfaces:
BinaryIO
- Direct Known Subclasses:
BinaryVersion1
Implements data writing for versions 0 and 1.
It uses double precision for positions, velocity vectors and proper motions, and single precisions for everything else.
Version 0 also includes Tycho identifiers.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidWrite the star bean to the output stream.Methods inherited from class BinaryIOBase
readParticleRecord, readParticleRecord, readParticleRecordModifier and TypeMethodDescriptionreadParticleRecord(IDataReader in, double factor) readParticleRecord(DataInputStream in, double factor) Read a star from the input stream.readParticleRecord(MappedByteBuffer mem, double factor) Read a star from the mapped buffer.
-
Constructor Details
-
BinaryVersion0
public BinaryVersion0()
-
-
Method Details
-
writeParticleRecord
Description copied from interface:BinaryIOWrite the star bean to the output stream.- Parameters:
sb- The star bean.out- The output stream.- Throws:
IOException- If the write operation fails.
-