suzaku-io / boopickle

Binary serialization library for efficient network communication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Misleading variable names

aki-ks opened this issue · comments

commented

The methods that create size oriented Pickle/UnpickleStates have wrong names.

implicit def pickleStateSpeed: PickleState = new PickleState(new EncoderSize, true, true)

implicit def unpickleStateSpeed: ByteBuffer => UnpickleState = bytes => new UnpickleState(new DecoderSize(bytes), true, true)