Class CLN1SectionReadableImageArray
java.lang.Object
com.io7m.calino.vanilla.internal.CLN1SectionReadableAbstract
com.io7m.calino.vanilla.internal.CLN1SectionReadableImageArray
- All Implemented Interfaces:
CLNSectionReadableImageArrayType, CLNSectionReadableStandardType, CLNSectionReadableType, Closeable, AutoCloseable
public final class CLN1SectionReadableImageArray
extends CLN1SectionReadableAbstract
implements CLNSectionReadableImageArrayType
A readable array image section.
-
Method Summary
Modifier and TypeMethodDescriptionmipMapDataRaw(CLNImageArrayDescription description) Obtain a readable channel that returns potentially compressed data.Obtain a readable channel that returns decompressed data (that is, data with any supercompression removed).Methods inherited from class CLN1SectionReadableAbstract
close, description, errorLimitExceeded, fileSectionDescription, reader, request, sectionDataChannelMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CLNSectionReadableType
description, fileSectionDescription, sectionDataChannel
-
Method Details
-
mipMapDescriptions
- Specified by:
mipMapDescriptionsin interfaceCLNSectionReadableImageArrayType- Returns:
- The set of declared mipmaps
- Throws:
IOException- On errors
-
mipMapDataWithoutSupercompression
public ReadableByteChannel mipMapDataWithoutSupercompression(CLNImageArrayDescription description) throws IOException Description copied from interface:CLNSectionReadableImageArrayTypeObtain a readable channel that returns decompressed data (that is, data with any supercompression removed).- Specified by:
mipMapDataWithoutSupercompressionin interfaceCLNSectionReadableImageArrayType- Parameters:
description- The image description- Returns:
- A readable channel
- Throws:
IOException- On I/O errors
-
mipMapDataRaw
Description copied from interface:CLNSectionReadableImageArrayTypeObtain a readable channel that returns potentially compressed data. The bytes returned by the channel are not interpreted in any form, and are exactly as they appeared in the underlying file.- Specified by:
mipMapDataRawin interfaceCLNSectionReadableImageArrayType- Parameters:
description- The image description- Returns:
- A readable channel
- Throws:
IOException- On I/O errors
-