Source file src/internal/pkgbits/doc.go

     1  // Copyright 2022 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // Package pkgbits implements low-level coding abstractions for Unified IR's
     6  // (UIR) binary export data format.
     7  //
     8  // At a low-level, the exported objects of a package are encoded as a byte
     9  // array. This array contains byte representations of primitive, potentially
    10  // variable-length values, such as integers, booleans, strings, and constants.
    11  //
    12  // Additionally, the array may contain values which denote indices in the byte
    13  // array itself. These are termed "relocations" and allow for references.
    14  //
    15  // The details of mapping high-level Go constructs to primitives are left to
    16  // other packages.
    17  package pkgbits
    18  

View as plain text