package stringtab Import Path internal/coverage/stringtab (on go.dev) Dependency Relation imports 4 packages, and imported by 4 packagesInvolved Source Files stringtab.goPackage-Level Type Names (total 2)Reader is a helper for reading a string table previously serialized by a Writer.Write call. Entries returns the number of decoded entries in a string table. Get returns string 'idx' within the string table. Read reads/decodes a string table using the reader provided. func NewReader(r *slicereader.Reader) *ReaderWriter implements a string table writing utility. Freeze sends a signal to the writer that no more additions are allowed, only lookups of existing strings (if a lookup triggers addition, a panic will result). Useful as a mechanism for "finalizing" a string table prior to writing it out. InitWriter initializes a stringtab.Writer. Lookup looks up string 's' in the writer's table, adding a new entry if need be, and returning an index into the table. Nentries returns the number of strings interned so far. Size computes the memory in bytes needed for the serialized version of a stringtab.Writer. Write writes the string table in serialized form to the specified io.Writer.Package-Level Functions (only one)NewReader creates a stringtab.Reader to read the contents of a string table from 'r'.
|The pages are generated with Golds v0.5.5. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds.|