Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stack ¶
type Stack[T any] struct { // contains filtered or unexported fields }
Stack is a generic slice-backed stack pre-allocated to avoid growth allocations for typical serde nesting depths.
func (*Stack[T]) Reset ¶
func (s *Stack[T]) Reset()
Reset clears the stack while retaining allocated capacity.
Click to show internal directories.
Click to hide internal directories.