chan can take size or buffer, doc fixes