Have a sealed trait DataTag and its subtypes (86 case classes). After upgrade project to scala 2.12, scodec-core 1.11.8 and scodec-bits 1.1.27, compil ...
Have a sealed trait DataTag and its subtypes (86 case classes). After upgrade project to scala 2.12, scodec-core 1.11.8 and scodec-bits 1.1.27, compil ...
I'm writing a file parser that is reading an existing file format that incorporates fixed length, 0 padded strings. So, for example I've got two case ...
I have been asked by my developers to have scodec libraries installed on a linux server and I'm lost as I can't find any documentation that points abo ...
I have below case class Below is the code that I've tried so far - I don't know how to write Codec for Map[String, String]. I checked online do ...
Considering this function in Decoder: What I really need is dec: Vector[Decoder[A]], like this: to process a binary format that has fields that ...
I would create a model for the KMIP protocols that works with TTLV encoding (Tag, Type, Length, Value) The ttlv function is "high level" and accepts ...
I'm trying to implement codec for PSQL COPY BINARY format. Details are at Tuple section Int, Bool, String fields are encoded as <4 byte length> ...
raw beginner with scodec here. Does scodec provide a nice way to convert an unsigned decimal integer value to a literal binary unsigned integer string ...
I am playing around with the Bitcoin blockchain to learn Scala and some useful libraries. Currently I am trying to decode and encode Blocks with SCode ...
I am using Scodec to decode Flac metadata. One of the specifications is that there is a Header and a Block that can be repeated a number of times toge ...
Note: I am learning shapeless, so please ask for clarification if I miss any details. Background: I am building an encoding/decoding solution for fi ...
I'm trying to use discriminators in existing project and something is wrong with my classes I guess. Consider this scodec example. If I change TurnLe ...
I have the following structure I like to encode. I'm aware that I can encode a vector with vector() if the size field is directly in front of the vect ...
I need to convert the ByteString received by AKKA Streams to BitVector int order to decode it by scodec. The library is said to be be published to Mav ...
I'm currently evaluating if scodec is the right tool for my task. I have to parse an InputStream (file or network) which is structured the following: ...
As a new user of SCodec, there is quite a learning curve. I've hit a snag that I can't seem to solve despite reading the source and docs. I want to b ...
I am looking for a way to approach a protocol like the following example: Here, bodyType == 0 will stand for Read, and bodyType != 0 will encode W ...
I have a class looking like this, to define a Codec[Foo], I tried this, But this did not work, since scodec throws StackOverflowError. What is t ...
I am trying to define an Scodec coproduct codec for communicating with an EELink GPS. Here is the code: I am getting the following: I have look ...
I must create a codec for a message that has the following specification The message length is indicated by a byte of which the least significant bit ...