ByteBufferFactory

class ByteBufferFactory : ByteBufferParser<T>

Loads ByteBuffers for GlideUrls using cronet.

Constructors

Link copied to clipboard
open fun ByteBufferFactory(requestFactory: CronetRequestFactory, dataLogger: DataLogger)

Functions

Link copied to clipboard
open fun build(multiFactory: MultiModelLoaderFactory): ModelLoader<GlideUrl, ByteBuffer>
Link copied to clipboard
open fun getDataClass(): Class<ByteBuffer>
Returns the Class of the data that will be parsed from ByteBuffers.
Link copied to clipboard
open fun parse(byteBuffer: ByteBuffer): ByteBuffer
Returns the required type of data parsed from the given ByteBuffer.
Link copied to clipboard
open fun teardown()