Unless T is 'void' opIndex() is declared and the static_array_element flag defined which tells whether T is a static array type or not. R is defined as return type of opIndex() and other methods which return an array element. Normally this aliases T; however, if T is a static array type which cannot be the return type, it aliases the dynamic array of the same base type. For example, if T aliases int[4], R aliases int[]. If T is 'void', static_array_element, R and opIndex are not declared/defined at all.
Returns the i-th element in content.
Returns content[start .. end]. start must be at most end and end must be at most the current content length.
Returns content[start .. length].
Read-only AppendBuffer interface.
Note that there is no strict write protection to an IAppendBufferReader instance because it is still possible to modify the content an obtained slice refers to. However, this is not the intention of this interface and may not result in the desired or even result in undesired side effects.