StreamDecoder

fit4s.codec.StreamDecoder
object StreamDecoder

Allows to decode fit files in a streaming way.

The FitPartConsumer receives each decoded part of the fit file. The decoding keeps going until the consumer signals to stop by returning false.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class FitCrc(crc: Int) extends FitPart

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait FitPart
class Object
trait Matchable
class Any
Show all
final case class FitHeader(header: FileHeader) extends FitPart

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait FitPart
class Object
trait Matchable
class Any
Show all
sealed trait FitPart

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class FitCrc
class FitHeader
class FitRecord

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
final case class FitRecord(record: Record) extends FitPart

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait FitPart
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def decode(source: ByteSource, cont: FitPartConsumer): Unit

Extensions

Extensions

extension (self: ByteSource)
def prepend(bv: BitVector): ByteSource
def prepend(bv: ByteVector): ByteSource