def __getitem__(self, idx):
if idx < <NUM_LIT:0> or idx >= self.length():<EOL><INDENT>raise KeyError()<EOL><DEDENT>return self.data[idx]<EOL>
Return element of buffer at specific index

        # Argument
            idx (int): Index wanted

        # Returns
            The element of buffer at given index