Package com.io7m.jspiel.vanilla
Class RiffParsers
java.lang.Object
com.io7m.jspiel.vanilla.RiffParsers
- All Implemented Interfaces:
RiffFileParserProviderType
RIFF parsers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateForByteBuffer(URI source, ByteBuffer data) Create a parser from the data in the given byte buffer.
-
Constructor Details
-
RiffParsers
public RiffParsers()Construct a RIFF parser provider.
-
-
Method Details
-
createForByteBuffer
Description copied from interface:RiffFileParserProviderTypeCreate a parser from the data in the given byte buffer.- Specified by:
createForByteBufferin interfaceRiffFileParserProviderType- Parameters:
source- The URI of the sourcedata- The input data- Returns:
- A new parser
-