public class CardImage extends Object
FitsUtil.writeHeader(uk.ac.starlink.fits.CardImage[], java.io.OutputStream)| Constructor and Description |
|---|
CardImage(byte[] buf80)
Constructs a CardImage from an 80-element byte array.
|
CardImage(CharSequence txt80)
Constructs a CardImage from an 80-character CharSequence.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes()
Returns this image as a byte array.
|
String |
toString() |
public CardImage(byte[] buf80)
buf80 - 80-byte array containing ASCII charactersIllegalArgumentException - if the array is the wrong length
or contains illegal characterspublic CardImage(CharSequence txt80)
txt80 - 80-character sequence containing ASCII charactersIllegalArgumentException - if the string is the wrong length
or contains illegal charactersCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.