public class CardImage
extends java.lang.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(java.lang.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.
|
java.lang.String |
toString() |
public CardImage(byte[] buf80)
buf80 - 80-byte array containing ASCII charactersjava.lang.IllegalArgumentException - if the array is the wrong length
or contains illegal characterspublic CardImage(java.lang.CharSequence txt80)
txt80 - 80-character sequence containing ASCII charactersjava.lang.IllegalArgumentException - if the string is the wrong length
or contains illegal characters