code: func (c *BaseConn) SetReadLimit(limit int64) {
  	c.stream.Decoder.Limit = limit
  }
docs: // SetReadLimit sets the maximum size of a packet that can be received.
  // If the limit is greater than zero, Receive will close the connection and
  // return an Error if receiving the next packet will exceed the limit.