<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_scalar_value(self, value_buf):
 """Add a node to the tree containing a scalar value. Args: value_buf (bytearray):
 bytearray containing the scalar value. """

        self.__container_node.add_child(_Node(value_buf))
        self.current_container_length += len(value_buf)