public ServerSessionDecoder(long streamPosition, int maxViaLength, int maxContentTypeLength) : base(streamPosition)
 {
     this.viaDecoder         = new ViaStringDecoder(maxViaLength);
     this.contentTypeDecoder = new ContentTypeStringDecoder(maxContentTypeLength);
     this.sizeDecoder        = new IntDecoder();
     this.currentState       = State.ReadingViaRecord;
 }
 public ServerSessionDecoder(long streamPosition, int maxViaLength, int maxContentTypeLength)
     : base(streamPosition)
 {
     this.viaDecoder = new ViaStringDecoder(maxViaLength);
     this.contentTypeDecoder = new ContentTypeStringDecoder(maxContentTypeLength);
     this.sizeDecoder = new IntDecoder();
     this.currentState = State.ReadingViaRecord;
 }