refactoring: declared is now BeanProperty context flag
refactoring: changed signature, flags order
write iteration in chunks, instead byte by byte.