add typed array
add typed buffer attributes
ws close