Table of Contents Declaration and definition of constants Declare constants in batches Complete code example Constant naming rules Common constant types iota Code example 1 Code example 2 Code example 3 Code example 4 Constant usage scenarios Summarize ?Original text: Go language constant decryption: constant values (const and iota) (with code examples) For more related […]
Tag: iota
GO language: file operation, writing files and iota generating constants
Directory title 1. Writing files Writing files 1. Writing string to a file Writing string 2. Writing bytes to a file Writing bytes 3. Writing strings line by line to a file 4. Appending to a file Adding content 5. Writing to file concurrently Writing to file concurrently 2. iota constant generator 1. Writing files […]
iOS IdiotAVplayer implements video segment caching
Article directory IdiotAVplayer implements video slice caching 1 Principle of iOS video playing while downloading 1 Implementation of fragmented download 1 The idea of downloading in pieces 2 IdiotAVplayer implementation architecture 3. IdiotAVplayer code analysis IdiotPlayer IdiotResourceLoader IdiotDownLoader IdiotAVplayer implements video slice caching 1 Principle of iOS video streaming while downloading When initializing AVURLAsset, replace […]