/* Stream's Index is incremented when writing data, reading data, or moving the position in the Stream. It can be seen as an index: */
UINT32 EFIAPI AmlStreamGetIndex(IN CONST AML_STREAM *Stream)
/* Stream's Index is incremented when writing data, reading data, or moving the position in the Stream. It can be seen as an index: */
UINT32 EFIAPI AmlStreamGetIndex(IN CONST AML_STREAM *Stream)
{
  if (!IS_STREAM (Stream)) {
    ASSERT (0);
    return 0;
  }
  return Stream->Index;
}