TrawlerContentRangeInfo

GoogleApi.ContentWarehouse.V1.Model.TrawlerContentRangeInfo


Table of Contents ▼

Jump to a specific part of the page:

Description

Parsed version of a Content-Range field, which in http might look like: Content-Range: bytes 500-999/3156

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. EndPos (type: String.t, default: nil)
    -
  2. StartPos (type: String.t, default: nil)
    - In ContentRange, the first byte is 0 (rather than 1), and the positions are inclusive. Thus, length is EndPos+1-StartPos
  3. TotalLength (type: String.t, default: nil)
    -

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.TrawlerContentRangeInfo{
EndPos: String.t() | nil,
StartPos: String.t() | nil,
TotalLength: String.t() | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.TrawlerContentRangeInfo