s2mc-protocol-core
s2mc-protocol-core
io.github.kory33.s2mctest.core.connection.algebra
ReadBytes
ReadBytes
io.github.kory33.s2mctest.core.connection.codec
ByteCodec
ByteCodec
given_Invariant_ByteCodec
ByteEncode
ByteEncode
given_Contravariant_ByteEncode
io.github.kory33.s2mctest.core.connection.codec.dsl
DecodeBytes
DecodeFiniteBytes
ReadBytesInstruction
ReadWithSize
RaiseError
GiveUp
ReadFiniteBytesInstruction
io.github.kory33.s2mctest.core.connection.codec.interpreters
DecodeBytesInterpreter
DecodeFiniteBytesInterpreter
ParseError
Raised
GaveUp
ParseResult
Just
WithExcessBytes
Errored
io.github.kory33.s2mctest.core.connection.protocol
PacketIdBindings
CanEncode
CanEncode
Protocol
Protocol
ProtocolView
io.github.kory33.s2mctest.core.connection.transport
PacketTransport
ProtocolBasedTransport
Response
Response
io.github.kory33.s2mctest.core.generic.compiletime
io.github.kory33.s2mctest.core.generic.conversions
AutoWidenFunctor
FunctionKAndPolyFunction
io.github.kory33.s2mctest.core.generic.derives
FunctorDerives
Functor_F
Functor_T
functorGen
given_Functor_X
io.github.kory33.s2mctest.core.generic.extensions
MappedTupleExt
MonadValueExt
TypeEqExt
io.github.kory33.s2mctest.core.generic.extra
EitherKExtra
io.github.kory33.s2mctest.core.generic.givens
GivenEither
GivenEither
s2mc-protocol-core
/
io.github.kory33.s2mctest.core.connection.codec.interpreters
/
DecodeFiniteBytesInterpreter
DecodeFiniteBytesInterpreter
object
DecodeFiniteBytesInterpreter
Graph
Supertypes
Self type
class
Object
trait
Matchable
class
Any
DecodeFiniteBytesInterpreter
Type members
Value members
Type members
Types
type
EitherParseErrorTState
[A] =
EitherT
[[R] =>>
State
[
Chunk
[
Byte
], R],
ParseError
,
A
]
Value members
Concrete methods
def
runProgramOnChunk
[A](chunk:
Chunk
[
Byte
], program:
DecodeFiniteBytes
[A]):
ParseResult
[A]
def
runProgramOnEitherTState
[A](program:
DecodeFiniteBytes
[A]):
EitherParseErrorTState
[A]
Concrete fields
val
runReadFiniteBytesInstruction
:
FunctionK
[
ReadFiniteBytesInstruction
,
EitherParseErrorTState
]